aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2003-12-29 02:33:15 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2003-12-29 02:33:15 +0000
commit1896d29d23be825e42ee0c6e8c3afa4c54fbbcaf (patch)
tree81ae3bb31a5a2267931d813801f46ced4b462fd6 /gcc
parent4c2a4b907dc3d79259747b6f21b1633d8e4c99aa (diff)
downloadgcc-1896d29d23be825e42ee0c6e8c3afa4c54fbbcaf.zip
gcc-1896d29d23be825e42ee0c6e8c3afa4c54fbbcaf.tar.gz
gcc-1896d29d23be825e42ee0c6e8c3afa4c54fbbcaf.tar.bz2
* gcc.dg/const-elim-1.c: XFAIL on arm-*-*.
From-SVN: r75191
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/const-elim-1.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0c13a24..465b7a9 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/gcc.dg/const-elim-1.c b/gcc/testsuite/gcc.dg/const-elim-1.c
index c9c57a27..7281ebf 100644
--- a/gcc/testsuite/gcc.dg/const-elim-1.c
+++ b/gcc/testsuite/gcc.dg/const-elim-1.c
@@ -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)