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

            Bug ID: 65429
           Summary: ICE on implied-length character empty array
                    constructor
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fxcoudert at gcc dot gnu.org

$ cat c.f90 
  CHARACTER(*), PARAMETER :: animals(*)  = [ CHARACTER(10) :: ]
  print *, animals
  end

$ gfortran c.f90 
f951: internal compiler error: Segmentation fault: 11

f951: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
zsh: abort      gfortran c.f90

Reply via email to