[Bug c/86420] [9 regression] nextafter(0x1p-1022,0) is constant folded
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 9 10:57:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86420
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jul 9 10:56:47 2018
New Revision: 262517
URL: https://gcc.gnu.org/viewcvs?rev=262517&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/real.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/nextafter-1.c
More information about the Gcc-bugs
mailing list