summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-15 12:21:24 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-15 12:21:24 +0000
commitbd860dba47b3c503db2ab6024432b5e7b0d0fd4d (patch)
tree51a813f6cd9285dfce169ebd53e9e669b835653e
parent925daabc158b7ff7c6a68c564e75c885ddb63af9 (diff)
downloadppe42-gcc-bd860dba47b3c503db2ab6024432b5e7b0d0fd4d.tar.gz
ppe42-gcc-bd860dba47b3c503db2ab6024432b5e7b0d0fd4d.zip
* gcc.dg/const-elim-1.c: Remove XFAIL for s390*-*-*.
* gcc.dg/uninit-H.c: Define ASM for __s390__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81879 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/const-elim-1.c4
-rw-r--r--gcc/testsuite/gcc.dg/uninit-H.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1a61456a913..0f1ec72238c 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-15 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * gcc.dg/const-elim-1.c: Remove XFAIL for s390*-*-*.
+ * gcc.dg/uninit-H.c: Define ASM for __s390__.
+
2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.c-torture/execute/20000603-1.c: Update WG14 URL.
diff --git a/gcc/testsuite/gcc.dg/const-elim-1.c b/gcc/testsuite/gcc.dg/const-elim-1.c
index c623a2399c4..71a1364d599 100644
--- a/gcc/testsuite/gcc.dg/const-elim-1.c
+++ b/gcc/testsuite/gcc.dg/const-elim-1.c
@@ -12,8 +12,8 @@
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); S/390; Xtensa. */
-/* { dg-final { scan-assembler-not "L\\\$?C\[^A-Z\]" { xfail arm-*-* strongarm-*-* xscale-*-* hppa-*-* hppa*.*-*-* powerpc*-*-aix* s390*-*-* xtensa-*-* } } } */
+ 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)
diff --git a/gcc/testsuite/gcc.dg/uninit-H.c b/gcc/testsuite/gcc.dg/uninit-H.c
index 67c33318f97..6de75c6b86e 100644
--- a/gcc/testsuite/gcc.dg/uninit-H.c
+++ b/gcc/testsuite/gcc.dg/uninit-H.c
@@ -8,6 +8,8 @@
# define ASM __asm__("esp")
#elif (defined __powerpc__) || (defined __PPC__) || (defined __ppc__)
# define ASM __asm__("r1")
+#elif defined __s390__
+# define ASM __asm__("r15")
#else
# define ASM
#endif
OpenPOWER on IntegriCloud