https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67542
Bug ID: 67542 Summary: ICE on initializing type variable with a longer array Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fort...@t-online.de Target Milestone: --- This test case with a longer array in initializer of y : $ cat z1.f90 program p type t integer :: n character(8) :: c(1) end type type(t) :: x = t(1, ['a']) type(t) :: y = t(1, ['a', 'b']) end Yields with gfortran 5.2.1 and 4.9.0 : internal compiler error: in native_encode_initializer, at dwarf2out.c:16210 Compiles with no error using gfortran 4.8.3