From 831bac26205314490d8a15940f5bd59b030ca503 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Tue, 17 Jul 2018 01:03:08 +0200 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/lib/target-supports.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 } -- 2.30.2