https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125242

--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Drea Pinski from comment #1)
> You need -fno-trapping-math for this to work now.
> 
> >x < 0.0f
> 
> Might trap.

Or rather `z = x + x;` might trap. And you can't make it unconditional.

Note LLVM/clang defaults to -fno-trapping-math so if you are comparing against
LLVM, you might want to pass -fno-trapping-math to GCC.

Reply via email to