https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118955
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- But it is the later fpre-include. #define TARGET_F951_OPTIONS "%{!nostdinc:\ %:fortran-preinclude-file(-fpre-include= math-vector-fortran.h finclude%s/)}" I wonder if find_fortran_preinclude_file could be extended to say only include it with -ffast-math enabled (or the other options needed for -ffast-math). Since the driver still does processing of the options.