[Bug target/55522] -funsafe-math-optimizations is unexpectedly harmful, especially w/ -shared
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 27 14:47:10 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522
--- Comment #43 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:6cdb4d4bcd52c95cb6d367b93a82eb599d4e26f0
commit r13-5452-g6cdb4d4bcd52c95cb6d367b93a82eb599d4e26f0
Author: Richard Biener <rguenther@suse.de>
Date: Fri Jan 13 08:53:44 2023 +0100
mips: Don't add crtfastmath.o for -shared
Don't add crtfastmath.o for -shared to avoid altering the FP
environment when loading a shared library.
PR target/55522
* config/mips/gnu-user.h (GNU_USER_TARGET_MATHFILE_SPEC):
Don't add crtfastmath.o for -shared.
More information about the Gcc-bugs
mailing list