Description of problem: The f95 fortran compiler fails with a segfault while attempting to compile file edit.f90. This may be the same error as bug report 483835. How reproducible: I have attached a tar file that contains a readme file and the files needed to reconstruct the error.
Created attachment 336712 [details] tar file containing files need to reconstruct the error
Reduced testcase: module mod type t real :: v(50) end type t type (t), target, allocatable, save :: v1(:) integer, save :: v2, v3, v4 character(len=8), save, target, allocatable :: v5(:) end module mod subroutine test use mod integer :: i write (*,v5(1:v3)) (v1(i)%v(v2), i=2, v4) end subroutine test
*** Bug 483845 has been marked as a duplicate of this bug. ***
*** Bug 487019 has been marked as a duplicate of this bug. ***
Patch: http://gcc.gnu.org/ml/gcc-patches/2009-05/msg00649.html
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1376.html