From: Ulrich Weigand Date: Wed, 2 Jul 2008 15:56:31 +0000 (+0000) Subject: re PR target/36698 (gcc.c-torture/compile/20001226-1.c exceeds SPU local store size... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b12285bdfc30eeefc48555bc6aa4e571248ee14d;p=gcc.git re PR target/36698 (gcc.c-torture/compile/20001226-1.c exceeds SPU local store size with -O0) PR target/36698 * gcc.c-torture/compile/20001226-1.c: XFAIL -O0 case on SPU. * gcc.dg/pr27095.c: Provide target-specific regexp for SPU. From-SVN: r137367 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 88751792124..3235a4fd568 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2008-07-02 Ulrich Weigand + + PR target/36698 + * gcc.c-torture/compile/20001226-1.c: XFAIL -O0 case on SPU. + + * gcc.dg/pr27095.c: Provide target-specific regexp for SPU. + 2008-07-02 Ulrich Weigand * lib/compat.exp (compat-execute): Add -ffunction-sections diff --git a/gcc/testsuite/gcc.c-torture/compile/20001226-1.c b/gcc/testsuite/gcc.c-torture/compile/20001226-1.c index cfcf546e157..19701ab3877 100644 --- a/gcc/testsuite/gcc.c-torture/compile/20001226-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/20001226-1.c @@ -4,6 +4,7 @@ /* { dg-xfail-if "function larger than 64K" { m6811-*-* } { "*" } { "" } } */ /* { dg-skip-if "too much code for avr" { "avr-*-*" } { "*" } { "" } } */ /* { dg-xfail-if "jump beyond 128K not supported" { xtensa-*-* } { "-O0" } { "" } } */ +/* { dg-xfail-if "PR36698" { spu-*-* } { "-O0" } { "" } } */ /* { dg-skip-if "" { m32c-*-* } { "*" } { "" } } */ /* This testcase exposed two branch shortening bugs on powerpc. */ diff --git a/gcc/testsuite/gcc.dg/pr27095.c b/gcc/testsuite/gcc.dg/pr27095.c index 5ec39687a06..d274f4e8445 100644 --- a/gcc/testsuite/gcc.dg/pr27095.c +++ b/gcc/testsuite/gcc.dg/pr27095.c @@ -11,7 +11,7 @@ main (int argc, char **argv) memset (x, argc, strlen (x)); return 0; } -/* { dg-final { scan-assembler-not "(?n)strlen\(.*\n\)+.*strlen" { target { ! { powerpc*-*-darwin* hppa*-*-hpux* ia64-*-hpux* alpha*-*-* } } } } } */ +/* { dg-final { scan-assembler-not "(?n)strlen\(.*\n\)+.*strlen" { target { ! { powerpc*-*-darwin* hppa*-*-hpux* ia64-*-hpux* alpha*-*-* spu-*-* } } } } } */ /* hppa*-*-hpux* has an IMPORT statement for strlen (plus the branch). */ /* *-*-darwin* has something similar. */ /* { dg-final { scan-assembler-not "(?n)strlen\(.*\n\)+.*strlen\(.*\n\)+.*strlen" { target hppa*-*-hpux* } } } */ @@ -20,3 +20,5 @@ main (int argc, char **argv) /* { dg-final { scan-assembler-not "(?n)strlen\(.*\n\)+.*strlen\(.*\n\)+.*strlen\(.*\n\)+.*strlen" { target ia64-*-hpux* } } } */ /* alpha-*-* has a GOT load and the call. */ /* { dg-final { scan-assembler-not "(?n)jsr .*,strlen\(.*\n\)+.*jsr .*,strlen" { target alpha*-*-* } } } */ +/* spu-*-* has a branch hint and the call. */ +/* { dg-final { scan-assembler-not "(?n)brsl.*,strlen\(.*\n\)+.*brsl.*,strlen" { target spu-*-* } } } */