From da224bcb28a305b6d3ec23322ccb37b27fcf9051 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Fri, 24 Jun 2016 15:55:40 +0200 Subject: [PATCH] float128-cmp-invalid.c (main): Use __builtin_nanq. * gcc.dg/torture/float128-cmp-invalid.c (main): Use __builtin_nanq. From-SVN: r237760 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/torture/float128-cmp-invalid.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e90595d2b7b..3f9fb6355a0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-06-24 Uros Bizjak + + * gcc.dg/torture/float128-cmp-invalid.c (main): Use __builtin_nanq. + 2016-06-24 H.J. Lu * gcc.target/i386/noplt-1.c: Don't disable for ia32. Scan for diff --git a/gcc/testsuite/gcc.dg/torture/float128-cmp-invalid.c b/gcc/testsuite/gcc.dg/torture/float128-cmp-invalid.c index 9d37ba25b6d..19998f48251 100644 --- a/gcc/testsuite/gcc.dg/torture/float128-cmp-invalid.c +++ b/gcc/testsuite/gcc.dg/torture/float128-cmp-invalid.c @@ -9,7 +9,7 @@ int main (void) { - volatile __float128 a = __builtin_nan (""), b = 0; + volatile __float128 a = __builtin_nanq (""), b = 0.0q; volatile int r = a < b; if (!fetestexcept (FE_INVALID)) abort (); -- 2.30.2