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.