https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115374
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> --- Yep, it's call DCE which elides the errno setting function call iff the result is not NaN.
rguenth at gcc dot gnu.org via Gcc-bugs Thu, 06 Jun 2024 23:09:06 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115374
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> --- Yep, it's call DCE which elides the errno setting function call iff the result is not NaN.