This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20146] New: internal compiler error on equivalence
- From: "dir at lanl dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Feb 2005 16:18:19 -0000
- Subject: [Bug fortran/20146] New: internal compiler error on equivalence
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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