[Bug fortran/37193] New: "USE mod, ONLY: i, i=>j" does not import "i"
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Aug 21 19:10:00 GMT 2008
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
More information about the Gcc-bugs
mailing list