https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356
--- Comment #14 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- I'd expect any complete patch default to -fno-math-errno to add -fmath-errno to all tests relating to errno setting by libm functions (so that patch was incomplete for lack of test updates). Those tests, independently, should be disabled on platforms which do not support errno setting in libm.