The following program is valid and compiles with g95, f95, ifort, ... with gfortran it fails with:
i = 4 1 Error: Symbol 'i' at (1) has no IMPLICIT type module m implicit none integer :: i end module m use m, only: i, j=>i, k=>i implicit none j = 5 k = 3 i = 4 if(i /= k .or. j /= k .or. i /= 4) stop 'ERROR' end -- Summary: "USE mod, ONLY: i, i=>j" does not import "i" Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org OtherBugsDependingO 32834 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37193