diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/const-elim-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/const-elim-1.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/const-elim-1.c b/gcc/testsuite/gcc.dg/const-elim-1.c index c9c57a2784d..71a1364d599 100644 --- a/gcc/testsuite/gcc.dg/const-elim-1.c +++ b/gcc/testsuite/gcc.dg/const-elim-1.c @@ -7,7 +7,13 @@ /* { dg-do compile } */ /* { dg-options "-O2 -std=c99" } */ -/* { dg-final { scan-assembler-not "L\\\$?C\[^A-Z\]" } } */ +/* This test fails on all processors where we use a block move to + initialize "S" in test2. The RTL optimizers are not clever enough + to eliminate the block move, so the constant gets emitted. + Currently known targets with this problem: all ARM; PA32 ("hppa*.*" + matches "hppa2.0w" but not "hppa64"); PPC if string instructions + are enabled (notably under AIX); Xtensa. */ +/* { dg-final { scan-assembler-not "L\\\$?C\[^A-Z\]" { xfail arm-*-* strongarm-*-* xscale-*-* hppa-*-* hppa*.*-*-* powerpc*-*-aix* xtensa-*-* } } } */ #define I (__extension__ 1.0iF) |