From: Uros Bizjak Date: Fri, 24 Jun 2016 13:55:40 +0000 (+0200) Subject: float128-cmp-invalid.c (main): Use __builtin_nanq. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da224bcb28a305b6d3ec23322ccb37b27fcf9051;p=gcc.git float128-cmp-invalid.c (main): Use __builtin_nanq. * gcc.dg/torture/float128-cmp-invalid.c (main): Use __builtin_nanq. From-SVN: r237760 --- 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 ();