aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2004-05-15 12:21:24 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2004-05-15 12:21:24 +0000
commit9322b95bd7dee4569ef6579e2a59dd37f12c4daf (patch)
tree51a813f6cd9285dfce169ebd53e9e669b835653e /gcc
parent5c33bb6218a90bcab5fe88ddd0864a50be9014de (diff)
downloadgcc-9322b95bd7dee4569ef6579e2a59dd37f12c4daf.zip
gcc-9322b95bd7dee4569ef6579e2a59dd37f12c4daf.tar.gz
gcc-9322b95bd7dee4569ef6579e2a59dd37f12c4daf.tar.bz2
const-elim-1.c: Remove XFAIL for s390*-*-*.
* gcc.dg/const-elim-1.c: Remove XFAIL for s390*-*-*. * gcc.dg/uninit-H.c: Define ASM for __s390__. From-SVN: r81879
Diffstat (limited to 'gcc')
-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 1a61456..0f1ec72 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 c623a23..71a1364 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 67c3331..6de75c6 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