https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110305
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jeff Law <l...@gcc.gnu.org>: https://gcc.gnu.org/g:827b2a279fc6ad5bb76e4d2c2eb3432955b5e11c commit r14-1952-g827b2a279fc6ad5bb76e4d2c2eb3432955b5e11c Author: Toru Kisuki <tkis...@tachyum.com> Date: Mon Jun 19 11:51:09 2023 -0600 Do not allow "x + 0.0" to "x" optimization with -fsignaling-nans gcc/ PR rtl-optimization/110305 * simplify-rtx.cc (simplify_context::simplify_binary_operation_1): Handle HONOR_SNANS for x + 0.0.