https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85111
--- Comment #2 from G. Steinmetz <gs...@t-online.de> --- Changed between 20171210 and 20171217. $ cat ze1.f90 program p character, parameter :: a(2,0) = reshape(['a','b','c','d'], shape(a)) character, parameter :: b(2) = maxval(a, dim=1) end $ gfortran-8-20180325 -c ze1.f90 f951: internal compiler error: in gfc_resolve_character_array_constructor, at fortran/array.c:2050 0x67a8a0 gfc_resolve_character_array_constructor(gfc_expr*) ../../gcc/fortran/array.c:2050 0x70f217 fixup_charlen ../../gcc/fortran/resolve.c:5744 0x70f217 gfc_resolve_expr(gfc_expr*) ../../gcc/fortran/resolve.c:6780 0x6aad1f gfc_reduce_init_expr(gfc_expr*) ../../gcc/fortran/expr.c:2773 0x6ad821 gfc_match_init_expr(gfc_expr**) ../../gcc/fortran/expr.c:2821 0x69b2c2 variable_decl ../../gcc/fortran/decl.c:2642 0x69b2c2 gfc_match_data_decl() ../../gcc/fortran/decl.c:5838 0x6f60b9 match_word_omp_simd ../../gcc/fortran/parse.c:93 0x6f97ae match_word ../../gcc/fortran/parse.c:376 0x6f97ae decode_statement ../../gcc/fortran/parse.c:376 0x6fb6d4 next_free ../../gcc/fortran/parse.c:1230 0x6fb6d4 next_statement ../../gcc/fortran/parse.c:1462 0x6fcfcc parse_spec ../../gcc/fortran/parse.c:3854 0x6ff4b3 parse_progunit ../../gcc/fortran/parse.c:5667 0x700a94 gfc_parse_file() ../../gcc/fortran/parse.c:6207 0x74791f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204