This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47839] ICE in dwarf2out.c:add_AT_specification
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 21 Feb 2011 16:19:31 +0000
- Subject: [Bug fortran/47839] ICE in dwarf2out.c:add_AT_specification
- Auto-submitted: auto-generated
- References: <bug-47839-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47839
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-02-21 16:19:20 UTC ---
--- a.f90
MODULE globalvar_mod
integer :: xstart, ystart, zstart, xstop, ystop, zstop
CONTAINS
END MODULE globalvar_mod
--- b.f90
MODULE PEC_mod
CONTAINS
SUBROUTINE PECapply(Ex,Ey,Ez)
USE globalvar_mod, ONLY : xstart, ystart, zstart, xstop, ystop, zstop
real(kind=8), dimension(xstart:xstop+1,ystart:ystop+1,zstart:zstop+1), &
intent(inout) :: Ex, Ey, Ez
END SUBROUTINE PECapply
END MODULE PEC_mod
> gfortran a.f90 b.f90 -flto -flto-partition=none -r -nostdlib -g
lto1: internal compiler error: in add_AT_specification, at dwarf2out.c:7558
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.