From: Zack Weinberg Date: Wed, 14 Apr 2004 20:28:17 +0000 (+0000) Subject: * gcc.dg/const-elim-1.c: XFAIL hppa*.*-*-* (PA32). Update commentary. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb2d0eec81f4d969f495134d08e8a863470a8442;p=gcc.git * gcc.dg/const-elim-1.c: XFAIL hppa*.*-*-* (PA32). Update commentary. From-SVN: r80691 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 47f20116f35..3a7b325812a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-04-14 Zack Weinberg + + * gcc.dg/const-elim-1.c: XFAIL hppa*.*-*-* (PA32). Update commentary. + 2004-04-14 Kaveh R. Ghazi * gcc.dg/torture/builtin-ctype-2.c: Test builtin isdigit. @@ -18,7 +22,7 @@ 2004-04-13 Aldy Hernandez - * gcc.c-torture/execute/20020720-1.x: XFAIL for powerpc-*-*spe. + * gcc.c-torture/execute/20020720-1.x: XFAIL for powerpc-*-*spe. 2004-04-12 Richard Kenner diff --git a/gcc/testsuite/gcc.dg/const-elim-1.c b/gcc/testsuite/gcc.dg/const-elim-1.c index b68abfc917c..c51c1b4ba21 100644 --- a/gcc/testsuite/gcc.dg/const-elim-1.c +++ b/gcc/testsuite/gcc.dg/const-elim-1.c @@ -7,10 +7,13 @@ /* { dg-do compile } */ /* { dg-options "-O2 -std=c99" } */ -/* This test fails on ARM and Xtensa cores because we use a block move to - initialize "S" in test2, and GCC is not clever enough to eliminate - the block move. */ -/* { dg-final { scan-assembler-not "L\\\$?C\[^A-Z\]" { xfail arm-*-* strongarm-*-* xscale-*-* powerpc*-*-aix* xtensa-*-* } } } */ +/* 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*.*-*-* powerpc*-*-aix* xtensa-*-* } } } */ #define I (__extension__ 1.0iF)