https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115533
Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu.org --- Comment #14 from Sam James <sjames at gcc dot gnu.org> --- (In reply to Sam James from comment #13) > Created attachment 58481 [details] > test.c If I do: ``` - if(k == 715635309.750000) + + if(k != 715635440.437500) __builtin_abort(); ``` it starts to fail with gcc-11 -O0, which makes me worried I'm misunderstanding some FP issue here. $ gcc-15 test.c -o test -O3 -march=znver2 -fno-vect-cost-model -fipa-pta -o test && ./test Aborted (core dumped) pinskia, could you take a look? I don't think I can do much more without hints at least