aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2018-07-17 01:03:08 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2018-07-17 01:03:08 +0200
commit831bac26205314490d8a15940f5bd59b030ca503 (patch)
treed1415e823bb3e24f715772e3bc2b10a706ced599
parent66408f6c3954fa6d91972bffecfaf49287cbfe55 (diff)
downloadgcc-831bac26205314490d8a15940f5bd59b030ca503.zip
gcc-831bac26205314490d8a15940f5bd59b030ca503.tar.gz
gcc-831bac26205314490d8a15940f5bd59b030ca503.tar.bz2
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
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/target-supports.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index cd95213..e6b8362 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2018-07-16 Segher Boessenkool <segher@kernel.crashing.org>
+
+ * lib/target-supports.exp (check_ppc_float128_hw_available): Fix
+ syntax error.
+
2018-07-16 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/86526
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
}