https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97142
--- Comment #3 from Peter Bergner <bergner at gcc dot gnu.org> --- (In reply to Richard Biener from comment #2) > Btw, with -ffast-math (or -Ofast) on x86 you get fmod inlined, I guess xlf > -O5 > is to some extent doing -ffast-math? Xlf at -O3, -O4 and -O5 automatically enables -qnostrict which is similar to -fast-math + plus other stuff. https://www.ibm.com/support/knowledgecenter/en/SSGH4D_16.1.0/com.ibm.xlf161.aix.doc/compiler_ref/opt_strict.html