diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-03-02 02:12:38 +0100 |
---|---|---|
committer | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-03-04 14:14:41 +0100 |
commit | af60228addb5a8b6294d2ba9e81e134d359ca043 (patch) | |
tree | 02b2ef98894412d749e0ac4f08de39d8cbe4ff3a /gcc | |
parent | c778a237c1c605c2c5606c212c1ace756739442b (diff) | |
download | gcc-af60228addb5a8b6294d2ba9e81e134d359ca043.zip gcc-af60228addb5a8b6294d2ba9e81e134d359ca043.tar.gz gcc-af60228addb5a8b6294d2ba9e81e134d359ca043.tar.bz2 |
IBM Z: Compile mul-signed-overflow tests on old machines
Commit 34d39d140913 ("IBM Z: Run mul-signed-overflow tests only on
z14") restricted mul-signed-overflow tests to z14+. It's actually fine
to compile them on old machines, only running needs to be restricted.
gcc/testsuite/ChangeLog:
* gcc.target/s390/mul-signed-overflow-1.c: Compile on old
machines.
* gcc.target/s390/mul-signed-overflow-2.c: Likewise.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/s390/mul-signed-overflow-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/s390/mul-signed-overflow-2.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/s390/mul-signed-overflow-1.c b/gcc/testsuite/gcc.target/s390/mul-signed-overflow-1.c index be95acc..e8b1938 100644 --- a/gcc/testsuite/gcc.target/s390/mul-signed-overflow-1.c +++ b/gcc/testsuite/gcc.target/s390/mul-signed-overflow-1.c @@ -1,3 +1,4 @@ +/* { dg-do compile } */ /* { dg-do run { target { s390_z14_hw } } } */ /* z14 only because we need msrkc, msc, msgrkc, msgc */ /* { dg-options "-O3 -march=z14 -mzarch --save-temps" } */ diff --git a/gcc/testsuite/gcc.target/s390/mul-signed-overflow-2.c b/gcc/testsuite/gcc.target/s390/mul-signed-overflow-2.c index f5fbf27..01328e1 100644 --- a/gcc/testsuite/gcc.target/s390/mul-signed-overflow-2.c +++ b/gcc/testsuite/gcc.target/s390/mul-signed-overflow-2.c @@ -1,3 +1,4 @@ +/* { dg-do compile } */ /* { dg-do run { target { s390_z14_hw } } } */ /* z14 only because we need msrkc, msc, msgrkc, msgc */ /* { dg-options "-O3 -march=z14 -mzarch --save-temps" } */ |