https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119875
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > Try with just -fno-trapping-math . > > And try clang with -ftrapping-math. > > Since gcc and clang have opposite settings here. Yes it is trapping math, let me find the dup on that.