! 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
[EMAIL PROTECTED] 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