OSDN Git Service

* gcc.dg/const-elim-1.c: Remove XFAIL for s390*-*-*.
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 May 2004 12:21:24 +0000 (12:21 +0000)
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 May 2004 12:21:24 +0000 (12:21 +0000)
* 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

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

index 1a61456..0f1ec72 100644 (file)
@@ -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.
index c623a23..71a1364 100644 (file)
@@ -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)
 
index 67c3331..6de75c6 100644 (file)
@@ -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