re PR c/86420 (nextafter(0x1p-1022,0) is constant folded)
authorJakub Jelinek <jakub@redhat.com>
Mon, 9 Jul 2018 10:56:47 +0000 (12:56 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 9 Jul 2018 10:56:47 +0000 (12:56 +0200)
commit56d04c75ef9df0e2c052c280cb8926e493edda6c
treeff2174ae67899267575fd8fd6deb26d63dd44cdd
parenteccba1ac5de7ca66c8201870c8b46c972c191fa0
re PR c/86420 (nextafter(0x1p-1022,0) is constant folded)

PR c/86420
* real.c (real_nextafter): Return true if result is denormal.

* gcc.dg/nextafter-1.c (TEST): Adjust the tests that expect denormals
to be returned and when first argument is not 0, so that they don't do
anything for NEED_EXC or NEED_ERRNO.

From-SVN: r262517
gcc/ChangeLog
gcc/real.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/nextafter-1.c