https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117525
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #7) > `-O3 -fno-trapping-math` is enough to reproduce the ICE. I should mention without `-fno-trapping-math`, the ifcvt thinks (correctly) that the pattern cause a trap/exception/signal.