From: Segher Boessenkool Date: Mon, 16 Jul 2018 23:03:08 +0000 (+0200) Subject: rs6000: Fix testsuite bug in check_ppc_float128_hw_available X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=831bac26205314490d8a15940f5bd59b030ca503;p=gcc.git rs6000: Fix testsuite bug in check_ppc_float128_hw_available The test program for ppc_float128_hw_available would always return false, since there is a syntax error in that test program. gcc/testsuite/ * lib/target-supports.exp (check_ppc_float128_hw_available): Fix syntax error. From-SVN: r262755 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cd952134d9d..e6b83629839 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-07-16 Segher Boessenkool + + * lib/target-supports.exp (check_ppc_float128_hw_available): Fix + syntax error. + 2018-07-16 Jakub Jelinek PR tree-optimization/86526 diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 99613fd26bd..ec4a35dc97c 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -2182,7 +2182,7 @@ proc check_ppc_float128_hw_available { } { __float128 w = -1.0q; __asm__ ("xsaddqp %0,%1,%2" : "+v" (w) : "v" (x), "v" (y)); - return ((z != 3.0q) || (z != w); + return ((z != 3.0q) || (z != w)); } } $options }