From: Ilya Leoshkevich Date: Tue, 2 Mar 2021 01:12:38 +0000 (+0100) Subject: IBM Z: Compile mul-signed-overflow tests on old machines X-Git-Tag: upstream/12.2.0~9447 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af60228addb5a8b6294d2ba9e81e134d359ca043;p=platform%2Fupstream%2Fgcc.git 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. --- 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" } */