mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-19 23:25:32 +08:00
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:
parent
e591f18ff8
commit
c21f47f401
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user