https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522
--- Comment #23 from Andrew Haley <aph at gcc dot gnu.org> --- This bug has pernicious effects in many more places: https://moyix.blogspot.com/2022/09/someones-been-messing-with-my-subnormals.html Florian is right: at least, GCC should not automatically link crtfastmath.o with -shared. Better, separate fiddling with the FP control register from -ffast-math entirely.