From fa2240d9888cc7c8460ad448768bce8620736a9d Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Fri, 27 Feb 2015 10:16:55 +0000 Subject: [PATCH] S/390: Remove -m64/-m31 from testcases. gcc/testsuite/ChangeLog: * gcc.target/s390/20140327-1.c: Remove -m31 and guard with ! lp64. * gcc.target/s390/hotpatch-8.c: Likewise. * gcc.target/s390/hotpatch-9.c: Likewise. * gcc.target/s390/pr61078.c: Likewise. * gcc.target/s390/pr57960.c: Remove -m64. * gcc.target/s390/pr61078.c: Likewise. From-SVN: r221049 --- gcc/testsuite/ChangeLog | 9 +++++++++ gcc/testsuite/gcc.target/s390/20140327-1.c | 4 ++-- gcc/testsuite/gcc.target/s390/hotpatch-8.c | 4 ++-- gcc/testsuite/gcc.target/s390/hotpatch-9.c | 4 ++-- gcc/testsuite/gcc.target/s390/pr57559.c | 2 +- gcc/testsuite/gcc.target/s390/pr57960.c | 2 +- gcc/testsuite/gcc.target/s390/pr61078.c | 4 ++-- 7 files changed, 19 insertions(+), 10 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3566d034365..ad86ce02e67 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2015-02-27 Andreas Krebbel + + * gcc.target/s390/20140327-1.c: Remove -m31 and guard with ! lp64. + * gcc.target/s390/hotpatch-8.c: Likewise. + * gcc.target/s390/hotpatch-9.c: Likewise. + * gcc.target/s390/pr61078.c: Likewise. + * gcc.target/s390/pr57960.c: Remove -m64. + * gcc.target/s390/pr61078.c: Likewise. + 2015-02-26 Jan Hubicka Martin Liska diff --git a/gcc/testsuite/gcc.target/s390/20140327-1.c b/gcc/testsuite/gcc.target/s390/20140327-1.c index f71c38f0909..25c73913772 100644 --- a/gcc/testsuite/gcc.target/s390/20140327-1.c +++ b/gcc/testsuite/gcc.target/s390/20140327-1.c @@ -1,5 +1,5 @@ -/* { dg-do compile } */ -/* { dg-options "-O3 -m31 -mzarch" } */ +/* { dg-do compile { target { ! lp64 } } } */ +/* { dg-options "-O3 -mzarch" } */ void foo () diff --git a/gcc/testsuite/gcc.target/s390/hotpatch-8.c b/gcc/testsuite/gcc.target/s390/hotpatch-8.c index 0874bbc5ce7..25edd9b0ed2 100644 --- a/gcc/testsuite/gcc.target/s390/hotpatch-8.c +++ b/gcc/testsuite/gcc.target/s390/hotpatch-8.c @@ -1,7 +1,7 @@ /* Functional tests for the function hotpatching feature. */ -/* { dg-do compile } */ -/* { dg-options "-O3 -mesa -m31 -march=g5 -mhotpatch=0,3" } */ +/* { dg-do compile { target { ! lp64 } } } */ +/* { dg-options "-O3 -mesa -march=g5 -mhotpatch=0,3" } */ #include diff --git a/gcc/testsuite/gcc.target/s390/hotpatch-9.c b/gcc/testsuite/gcc.target/s390/hotpatch-9.c index d6fb29ae274..2143f9d4280 100644 --- a/gcc/testsuite/gcc.target/s390/hotpatch-9.c +++ b/gcc/testsuite/gcc.target/s390/hotpatch-9.c @@ -1,7 +1,7 @@ /* Functional tests for the function hotpatching feature. */ -/* { dg-do compile } */ -/* { dg-options "-O3 -mesa -m31 -march=g5 -mhotpatch=0,4" } */ +/* { dg-do compile { target { ! lp64 } } } */ +/* { dg-options "-O3 -mesa -march=g5 -mhotpatch=0,4" } */ #include diff --git a/gcc/testsuite/gcc.target/s390/pr57559.c b/gcc/testsuite/gcc.target/s390/pr57559.c index 15c3878c4cf..1c62f569f77 100644 --- a/gcc/testsuite/gcc.target/s390/pr57559.c +++ b/gcc/testsuite/gcc.target/s390/pr57559.c @@ -1,7 +1,7 @@ /* PR rtl-optimization/57559 */ /* { dg-do compile } */ -/* { dg-options "-march=z10 -m64 -mzarch -O1" } */ +/* { dg-options "-march=z10 -mzarch -O1" } */ typedef int int32_t; typedef unsigned char uint8_t; diff --git a/gcc/testsuite/gcc.target/s390/pr57960.c b/gcc/testsuite/gcc.target/s390/pr57960.c index ee751edc842..03578ff7679 100644 --- a/gcc/testsuite/gcc.target/s390/pr57960.c +++ b/gcc/testsuite/gcc.target/s390/pr57960.c @@ -1,7 +1,7 @@ /* PR rtl-optimization/57960 */ /* { dg-do compile } */ -/* { dg-options "-march=z10 -m64 -mzarch -O1" } */ +/* { dg-options "-march=z10 -mzarch -O1" } */ typedef union { diff --git a/gcc/testsuite/gcc.target/s390/pr61078.c b/gcc/testsuite/gcc.target/s390/pr61078.c index 2f95eba8e9e..40f6ad7df09 100644 --- a/gcc/testsuite/gcc.target/s390/pr61078.c +++ b/gcc/testsuite/gcc.target/s390/pr61078.c @@ -1,8 +1,8 @@ /* This testcase is extracted from s390_emit_prologue. The negation of a 64bit value got split incorrectly on 31 bit. */ -/* { dg-do run } */ -/* { dg-options "-O2 -mesa -m31" } */ +/* { dg-do run { target { ! lp64 } } } */ +/* { dg-options "-O2 -mesa" } */ extern void abort (void); -- 2.30.2