https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67250
--- Comment #7 from Jeff Hammond <jeff.science at gmail dot com> --- And your "obvious workaround" is in fact not one because it changes the behavior of gfortran for Fortran source code and breaks the build in another way. And even if it did solve the problem, why not make it automatic with a flag to gfortran? The Intel Fortran compiler behaves as desired by default.