https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68154
Bug ID: 68154 Summary: ICE on initializing character parameter array (explicit, implied) 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: --- Some variants of initializing a character parameter array (explicit-shape, implied-shape) are not working : $ cat z1.f90 program p character(1), parameter :: x1(2) = 'a' character(*), parameter :: x2(2) = x1 character(*), parameter :: x3(*) = x1 end $ gfortran -g -O0 -Wall -fcheck=all z1.f90 f951: internal compiler error: Segmentation fault $ cat z2.f90 program p character(*), parameter :: x1(2) = 'a' character(*), parameter :: x2(2) = x1 character(*), parameter :: x3(*) = x1 end $ gfortran -g -O0 -Wall -fcheck=all z2.f90 f951: internal compiler error: Segmentation fault