testsuite: Fix up gcc.target/s390/zero-scratch-regs-1.c
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Tue, 20 Apr 2021 07:51:16 +0000 (09:51 +0200)
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Tue, 20 Apr 2021 07:51:16 +0000 (09:51 +0200)
commit250f234988b6231669a720c52101d3686d645072
tree5e36407d5995079d413a7956445fb18000687ef5
parent67378cd63d62bf0c69e966d1d202a1e586550a68
testsuite: Fix up gcc.target/s390/zero-scratch-regs-1.c

Depending on whether GCC is configured using --with-mode=zarch or not,
for the 31bit target instructions are generated either for ESA or
z/Architecture.  For the sake of simplicity and robustness test only for
the latter by adding manually option -mzarch.

gcc/testsuite/ChangeLog:

* gcc.target/s390/zero-scratch-regs-1.c: Force test to run for
z/Architecture only.
gcc/testsuite/gcc.target/s390/zero-scratch-regs-1.c