Another regression:

gfcbug103.f90: In function ‘foo’:
gfcbug103.f90:7:0: internal compiler error: in fold_convert_loc, at
fold-const.c:2670


Source:

module gfcbug103
  implicit none
  type t
     integer :: X = -999.0   ! Real initializer!
  end type t
contains
  subroutine foo
    type(t),  allocatable :: x(:)
    allocate (x(1))          ! ICE
  end subroutine foo
end module gfcbug103


-- 
           Summary: [4.5 Regression] ICE in fold_convert_loc, at fold-
                    const.c:2670
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at gmx dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42888

Reply via email to