]> git.ipfire.org Git - thirdparty/gcc.git/commit
This series of patches fix PR61441.
authorSujoy Saraswati <sujoy.saraswati@hpe.com>
Mon, 21 Dec 2015 07:59:30 +0000 (07:59 +0000)
committerSujoy Saraswati <ssaraswati@gcc.gnu.org>
Mon, 21 Dec 2015 07:59:30 +0000 (07:59 +0000)
commitde4b6238e7501adbb9cec02005d7605c1dbeb398
tree2ae5b93663443cbd3ea9fa77209ebb5f59d51e99
parent091534a9f44229b2643d84a0bfe0f07e678a3772
This series of patches fix PR61441.

This series of patches fix PR61441. This patch makes resulting NaN values
to be quiet NaN for real value operations, irrespective of the flag_signaling_nans
flag. The caller has the responsibility to avoid the operation if flag_signaling_nans
is on.

gcc/
* real.c (do_add): Make resulting NaN value to be qNaN.
(do_multiply, do_divide, do_fix_trunc): Same.
(real_arithmetic, real_ldexp, real_convert): Same.
(real_isinteger): Updated comment stating it returns false for sNaN.

From-SVN: r231872
gcc/ChangeLog
gcc/real.c