[Bug fortran/23270] New: Undefined reference to module blank common variable
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Aug 7 05:54:00 GMT 2005
! ld error - undefined reference to `__test_equiv_a'
! OK with ifc
!
module test_equiv
common a
real a
end module test_equiv
program module_equiv
use test_equiv
a = 999.0_4
end program module_equiv
[prt@localhost mytests]# /gcc-4.1/bin/gfortran -std=f95 module_equivalence_pr.f90
/tmp/cc0RTDPI.o(.text+0x9): In function `MAIN__':
: undefined reference to `__test_equiv__a'
collect2: ld returned 1 exit status
--
Summary: Undefined reference to module blank common variable
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pault at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23270
More information about the Gcc-bugs
mailing list