None of my other compiler even give a warning on this program -
[dranta:~/tests/gfortran-D] dir% xlf95 -o only -qsuffix=f=f90 only.f90 ** define_kind === End of Compilation 1 === ** main === End of Compilation 2 === 1501-510 Compilation successful for file only.f90. [dranta:~/tests/gfortran-D] dir% f90 -o only only.f90 [dranta:~/tests/gfortran-D] dir% gfortran -o only only.f90 In file only.f90:5 use define_kind, only: pc,pl,pc 1 Error: Symbol 'pc' referenced at (1) not found in module 'define_kind' [dranta:~/tests/gfortran-D] dir% cat only.f90 module define_kind integer, save :: pc , pl end module define_kind program main use define_kind, only: pc,pl,pc stop end [dranta:~/tests/gfortran-D] dir% -- Summary: incorrect error on use only statement 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=23217