https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108922
--- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note, the 215740 change has been backported to 4.8 branch in r215773 (I've been wondering why I can't reproduce it on 4.8; and also to 4.9 branch). Anyway, in 4.7 I see fmodl being called in *.optimized dump, and expand_builtin_mathfn_2 used to add the expand_errno_check. I bet starting with GCC 6 fmod etc. are handled through internal functions instead and maybe the errno stuff in there is missing.