From 60f4b2bfa593994c07097bcd567f6c341eecb262 Mon Sep 17 00:00:00 2001 From: Andy Hutchinson Date: Wed, 18 Jun 2008 22:59:41 +0000 Subject: [PATCH] re PR middle-end/36571 (Default untyped return for AVR is byte register.) PR c/36571 * gcc.dg/builtin-return-1.c: Mark as xfail on AVR. From-SVN: r136926 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/builtin-return-1.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a0817e8a449..55561a109ad 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-06-18 Andy Hutchinson + + PR c/36571 + * gcc.dg/builtin-return-1.c: Mark as xfail on AVR. + 2008-06-18 Andy Hutchinson * gcc.dg/tree-ssa/loop-35.c: xfail avr target. Add new avr specific diff --git a/gcc/testsuite/gcc.dg/builtin-return-1.c b/gcc/testsuite/gcc.dg/builtin-return-1.c index 75c9acdf72a..68fd0556b3d 100644 --- a/gcc/testsuite/gcc.dg/builtin-return-1.c +++ b/gcc/testsuite/gcc.dg/builtin-return-1.c @@ -1,7 +1,7 @@ /* PR middle-end/11151 */ /* Originator: Andrew Church */ /* { dg-do run } */ - +/* { dg-xfail-run-if "PR36571 untyped return is char register" { "avr-*-*" } { "*" } { "" } } */ /* This used to fail on SPARC because the (undefined) return value of 'bar' was overwriting that of 'foo'. */