From: Ilya Leoshkevich Date: Thu, 10 Dec 2020 14:42:09 +0000 (+0100) Subject: IBM Z: Fix check_effective_target_s390_z14_hw X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c21f47f40193d3c4c17d951fa63327e3574eddfc;p=gcc.git IBM Z: Fix check_effective_target_s390_z14_hw Commit 2f473f4b065d ("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 * gcc.target/s390/s390.exp: Replace %% with %. --- diff --git a/gcc/testsuite/gcc.target/s390/s390.exp b/gcc/testsuite/gcc.target/s390/s390.exp index ba493de9f95..57b2690f8ab 100644 --- a/gcc/testsuite/gcc.target/s390/s390.exp +++ b/gcc/testsuite/gcc.target/s390/s390.exp @@ -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 }