It does not like this construction - [dranta:~/tests/gfortran] dir% gfortran -o common common.f90 common.f90:0: internal compiler error: backend decl for module variable pc already exists Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. [dranta:~/tests/gfortran] dir% cat common.f90 module define_kind integer, parameter :: REAL8 = SELECTED_REAL_KIND(12) real(real8) :: den , pc , pl , psi equivalence (den,pl) equivalence (psi,pc) end module define_kind program main stop end
-- Summary: internal compiler error on equivalence 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.8.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20146