From bd860dba47b3c503db2ab6024432b5e7b0d0fd4d Mon Sep 17 00:00:00 2001 From: uweigand Date: Sat, 15 May 2004 12:21:24 +0000 Subject: [PATCH] * 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/const-elim-1.c | 4 ++-- gcc/testsuite/gcc.dg/uninit-H.c | 2 ++ 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 + + * 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 * 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 -- 2.7.4