This series of patches are for fixing PR61441.
authorSujoy Saraswati <sujoy.saraswati@hpe.com>
Sun, 20 Dec 2015 09:13:51 +0000 (09:13 +0000)
committerSujoy Saraswati <ssaraswati@gcc.gnu.org>
Sun, 20 Dec 2015 09:13:51 +0000 (09:13 +0000)
commit683aa9290bad382f137c9f205a91b3d8c78aecd6
tree62f0bdc62d4027b4d465778be408d23f54f86398
parente4dbb0d449e778bc810d0d627a5aaefd0d7847b1
This series of patches are for fixing PR61441.

This series of patches are for fixing PR61441. This patch modifies code to use
REAL_VALUE_ISSIGNALING_NAN instead of REAL_VALUE_ISNAN to avoid the operatins
only for sNaN operands.

Bootstrapped & regression-tested on x86_64-linux-gnu.

gcc/
* fold-const.c (const_binop): Use REAL_VALUE_ISSIGNALING_NAN instead
of REAL_VALUE_ISNAN to avoid the operation for sNaN operands.
* simplify-rtx.c (simplify_const_binary_operation): Same.

From-SVN: r231857
gcc/ChangeLog
gcc/fold-const.c
gcc/simplify-rtx.c