[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 18:10:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66765
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> This is not a target-specific bug.
AFAICT the problem occurs only on AIX.
> The gfortran front-end should not insert FE-specific options into
> the environment utilized by other GCC tools.
If I compile a file with '-fdump-fortran-original -v', I see
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.10.5' '-fdump-fortran-original'
'-v' '-shared-libgcc' '-mtune=corei7' '-march=corei7'
How do you prevent '-fdump-fortran-original' to appear in COLLECT_GCC_OPTIONS?
More information about the Gcc-bugs
mailing list