diff options
author | Roger Sayle <roger@nextmovesoftware.com> | 2020-08-03 13:15:58 +0100 |
---|---|---|
committer | Roger Sayle <roger@nextmovesoftware.com> | 2020-08-03 13:15:58 +0100 |
commit | 919c9d4bd3db7da09061af3b6f2a9193bf7bae45 (patch) | |
tree | b706d143612fce480a37f2cab09f6c426d9da51c /gcc/fortran/f95-lang.c | |
parent | ef59e1fb372c91c882784392b98c44a8550ff455 (diff) | |
download | gcc-919c9d4bd3db7da09061af3b6f2a9193bf7bae45.zip gcc-919c9d4bd3db7da09061af3b6f2a9193bf7bae45.tar.gz gcc-919c9d4bd3db7da09061af3b6f2a9193bf7bae45.tar.bz2 |
PR rtl-optimization 61494: Preserve x-0.0 with HONOR_SNANS.
The following patch avoids simplifying x-0.0 to x when -fsignaling-nans
is specified, which resolves PR rtl-optimization 61494. Indeed, running
the test program attached to that PR now reports no failures.
2020-08-02 Roger Sayle <roger@nextmovesoftware.com>
gcc/ChangeLog
PR rtl-optimization/61494
* simplify-rtx.c (simplify_binary_operation_1) [MINUS]: Don't
simplify x - 0.0 with -fsignaling-nans.
Diffstat (limited to 'gcc/fortran/f95-lang.c')
0 files changed, 0 insertions, 0 deletions