IBM Z: Fix check_effective_target_s390_z14_hw

Commit 2f473f4b06 ("IBM Z: Do not run long double tests on old
machines") introduced a predicate for tests that must run only on z14+.
However, due to a syntax error, the predicate always returns false.

gcc/testsuite/ChangeLog:

2020-12-10  Ilya Leoshkevich  <iii@linux.ibm.com>

	* gcc.target/s390/s390.exp: Replace %% with %.
This commit is contained in:
Ilya Leoshkevich 2020-12-10 15:42:09 +01:00
parent e591f18ff8
commit c21f47f401

View File

@ -197,7 +197,7 @@ proc check_effective_target_s390_z14_hw { } {
int main (void)
{
int x = 0;
asm ("msgrkc %%0,%%0,%%0" : "+r" (x) : );
asm ("msgrkc %0,%0,%0" : "+r" (x) : );
return x;
}
}] "-march=z14 -m64 -mzarch" ] } { return 0 } else { return 1 }