[Bug fortran/66765] gfortran passing fortran-specific options to ld and collect2

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sun Aug 30 21:25:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66765

--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Any of the Fortran FE options appearing in a link command likely cause an error.

Apparently it more complicated than that:

[Book15] f90/bug% gcc ya_sincos.c -fdump-fortran-original
cc1: error: unrecognized command line option '-fdump-fortran-original'

but

[Book15] f90/bug% gcc ya_sincos.c -fblah-blah
gcc: error: unrecognized command line option '-fblah-blah'

nothing to do with gfortran FE, and

[Book15] f90/bug% gcc ya_sincos.c -fdefault-integer-8
cc1: warning: command line option '-fdefault-integer-8' is valid for Fortran
but not for C



More information about the Gcc-bugs mailing list