summaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-29 02:33:15 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-29 02:33:15 +0000
commit8b7c5b072e7408e91a1553a77a0e09c8e992d9ba (patch)
tree81ae3bb31a5a2267931d813801f46ced4b462fd6 /gcc/testsuite
parenteb3f3f5ce94adfbede9f6dd7f937c082365d152f (diff)
downloadgcc-8b7c5b072e7408e91a1553a77a0e09c8e992d9ba.tar.gz
* gcc.dg/const-elim-1.c: XFAIL on arm-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75191 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-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 0c13a2477a4..465b7a923c4 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 c9c57a2784d..7281ebfd9b4 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)