* gcc.dg/const-elim-1.c: XFAIL on arm-*-*.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Dec 2003 02:33:15 +0000 (02:33 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Dec 2003 02:33:15 +0000 (02:33 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75191 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/const-elim-1.c

index 0c13a24..465b7a9 100644 (file)
@@ -1,5 +1,9 @@
 2003-12-28  Mark Mitchell  <mark@codesourcery.com>
 
+       * gcc.dg/const-elim-1.c: XFAIL on arm-*-*.
+
+2003-12-28  Mark Mitchell  <mark@codesourcery.com>
+
        PR c++/13009
        * g++.dg/init/assign1.C: New test.
 
index c9c57a2..7281ebf 100644 (file)
@@ -7,7 +7,10 @@
 
 /* { dg-do compile } */
 /* { dg-options "-O2 -std=c99" } */
-/* { dg-final { scan-assembler-not "L\\\$?C\[^A-Z\]" } } */
+/* This test fails on ARM 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-*-* } } } */
 
 #define I (__extension__ 1.0iF)