IBM Z: Compile mul-signed-overflow tests on old machines
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 2 Mar 2021 01:12:38 +0000 (02:12 +0100)
committerIlya Leoshkevich <iii@linux.ibm.com>
Thu, 4 Mar 2021 13:14:41 +0000 (14:14 +0100)
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.

gcc/testsuite/gcc.target/s390/mul-signed-overflow-1.c
gcc/testsuite/gcc.target/s390/mul-signed-overflow-2.c

index be95acc..e8b1938 100644 (file)
@@ -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" } */
index f5fbf27..01328e1 100644 (file)
@@ -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" } */