https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104006
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That is weird. We have: ieee_arithmetic.lo: ieee/ieee_arithmetic.F90 ieee_exceptions.lo dependency and ieee_exceptions.mod is created when compiling ieee_exceptions.lo.