[Bug rtl-optimization/110305] Incorrect optimization with -O3 -fsignaling-nans -fno-signed-zeros

2023-06-19 Thread tkisuki at tachyum dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110305 --- Comment #4 from tkisuki at tachyum dot com --- (In reply to Richard Biener from comment #3) > Confirmed. GENERIC properly handles signalling NaNs via > fold_real_zero_addition_p. > > If you send a patch to gcc-patches@ I'll approve it. Tha

[Bug c/110305] Incorrect optimization with -O3 -fsignaling-nans -fno-signed-zeros

2023-06-18 Thread tkisuki at tachyum dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110305 --- Comment #2 from tkisuki at tachyum dot com --- (In reply to Andrew Pinski from comment #1) > First off using signal nans but not caring about signed zeros seems a combo > that normally won't happen in real life. Did you find this by accident

[Bug c/110305] New: Incorrect optimization with -O3 -fsignaling-nans -fno-signed-zeros

2023-06-18 Thread tkisuki at tachyum dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110305 Bug ID: 110305 Summary: Incorrect optimization with -O3 -fsignaling-nans -fno-signed-zeros Product: gcc Version: og12 (devel/omp/gcc-12) Status: UNCONFIRMED Se