[Bug c/102549] Incorrect optimization if argument is SNAN

2021-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102549 --- Comment #2 from Andrew Pinski --- Note also from the docs: This option is experimental and does not currently guarantee to disable all GCC optimizations that affect signaling NaN behavior.

[Bug c/102549] Incorrect optimization if argument is SNAN

2021-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102549 --- Comment #1 from Andrew Pinski --- I think you need -fsignaling-nans