https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71067
Bug ID: 71067 Summary: ICE on data initialization with insufficient value or wrong boz-constants Product: gcc Version: 6.1.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: --- With a missing parameter attribute, or value not initialized : $ cat z1.f90 program p integer :: i = 0 integer :: z(2) data z /2*i/ end $ gfortran-6 z1.f90 f951: internal compiler error: free_expr0(): Bad expr type $ cat z2.f90 program p integer :: i, z(2) data z /2*i/ end $ gfortran-6 z2.f90 f951: internal compiler error: free_expr0(): Bad expr type Incidentally observed, with wrong boz-constants : $ cat z4.f90 program p integer :: a(2), b(2), c(2) data a /2*b1'/ data b /2*o1' data c /2*z1 end $ gfortran-6 z4.f90 f951: internal compiler error: free_expr0(): Bad expr type