https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67616

            Bug ID: 67616
           Summary: ICE on data initialization of type variable in block
           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: ---

With an embedding block construct :

$ cat z1.f90
program p
   type t
   end type
   block
      type(t) :: x
      data x /t()/
   end block
end

$ gfortran -g -O0 -Wall -fcheck=all -fno-frontend-optimize z1.f90
f951: internal compiler error: in gfc_match_structure_constructor, at
fortran/primary.c:2655

Reply via email to