s390/testsuite: Fix oscbreak-1.c.
authorRobin Dapp <rdapp@linux.ibm.com>
Mon, 15 Mar 2021 17:06:05 +0000 (18:06 +0100)
committerRobin Dapp <rdapp@linux.ibm.com>
Tue, 4 May 2021 14:25:57 +0000 (16:25 +0200)
commite4c707d2a439477943923bf4a5eb1b7588935364
tree050812eac024770b94e4acd98b517e0d818e132e
parentbd1cd0d0e0fecc6ac8632c266591767392480746
s390/testsuite: Fix oscbreak-1.c.

Checking for an osc break is somewhat brittle especially with many
passes potentially introducing new insns and moving them around.
Therefore, only compile the test with -O1 -fschedule-insns in order
to limit the influence of other passes.

gcc/testsuite/ChangeLog:

* gcc.target/s390/oscbreak-1.c: Compile with -O1
-fschedule-insns
gcc/testsuite/gcc.target/s390/oscbreak-1.c