https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67803
Bug ID: 67803 Summary: ICE on concatenating wrong character array constructor 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 wrong data in a character array constructor : $ cat z1.f90 program p character(2) :: x(1) x = '0' // [character :: 1] x = '0' // [character :: 1.] x = '0' // [character :: 1d1] x = '0' // [character :: (0.,1.)] x = '0' // [character :: .true.] x = '0' // [character :: null()] end $ gfortran -g -O0 -Wall -fcheck=all -fno-frontend-optimize z1.f90 f951: internal compiler error: in gfc_arith_concat, at fortran/arith.c:961