https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69860
--- Comment #6 from kargl at gcc dot gnu.org --- (In reply to Gerhard Steinmetz from comment #5) > The ICE is gone for several constellations, but not for all. > > > $ gfortran-7-20160821 -mavx z1.f90 > z1.f90:2:46: > > character(len=2, kind=4) :: a = 'aa', b = 'bb > 1 > Error: Unterminated character constant beginning at (1) > f951: internal compiler error: Segmentation fault > 0xc1b63f crash_signal > ../../gcc/toplev.c:335 > 0x688b02 gfc_is_constant_expr(gfc_expr*) > ../../gcc/fortran/expr.c:899 Works for me. % gfc7 -o z a.f90 a.f90:2:46: character(len=2, kind=1) :: a = 'aa', b = 'bb 1 Error: Unterminated character constant beginning at (1) % gfc7 -v |& grep version gcc version 7.0.0 20160822 (experimental) (GCC)