I think that the warning messages should not be displayed - [dranta:~/tests/gfortran-D] dir% gfortran -g -c -fdefault-real-8 -fdefault-integer-8 -fdefault-double-8 arg.F cc1: warning: command line option "-fdefault-real-8" is valid for F95 but not for C cc1: warning: command line option "-fdefault-integer-8" is valid for F95 but not for C cc1: warning: command line option "-fdefault-double-8" is valid for F95 but not for C [dranta:~/tests/gfortran-D] dir% cat arg.F program main stop end
-- Summary: Warning messages incorrectly being displayed Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dir at lanl dot gov CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: powerpc-apple-darwin7.9.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23176