The test program for ppc_float128_hw_available would always return
false, since there is a syntax error in that test program.


2018-07-16  Segher Boessenkool  <seg...@kernel.crashing.org>

gcc/testsuite/
        * lib/target-supports.exp (check_ppc_float128_hw_available): Fix
        syntax error.

---
 gcc/testsuite/lib/target-supports.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/lib/target-supports.exp 
b/gcc/testsuite/lib/target-supports.exp
index 99613fd..ec4a35d 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
        }
-- 
1.8.3.1

Reply via email to