https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115374
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Mario Hros from comment #10) > That _.265t.optimized posted matches my observation. So the call into glibc > fmod() is made to set errno eventually, ok. But shouldn't the returned value > from the glibc call be used instead of returning NaN? Why? We know the result should be NaN and we have a NaN from the inline fmod expansion. The glibc call is purely to set errno.