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
Confirmed, related to PR 17917.
*** This bug has been marked as a duplicate of 17917 ***