https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71859
--- Comment #2 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- For completeness another ICE, only with dedicated option -ff2c. $ gfortran-6 -ff2c z1.f90 z1.f90:2:0: call s(1) internal compiler error: in fold_convert_loc, at fold-const.c:2292 $ gfortran-7-20160710 -ff2c z1.f90 z1.f90:2:0: call s(1) internal compiler error: in fold_convert_loc, at fold-const.c:2289 0x943323 fold_convert_loc(unsigned int, tree_node*, tree_node*) ../../gcc/fold-const.c:2289 0x758a7f gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*, gfc_expr*, vec<tree_node*, va_gc, vl_embed>*) ../../gcc/fortran/trans-expr.c:6072 0x798674 gfc_trans_call(gfc_code*, bool, tree_node*, tree_node*, bool) ../../gcc/fortran/trans-stmt.c:407 0x71c28a trans_code ../../gcc/fortran/trans.c:1755 0x74ac88 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6171 0x6d6860 translate_all_program_units ../../gcc/fortran/parse.c:5914 0x6d6860 gfc_parse_file() ../../gcc/fortran/parse.c:6120 0x718d12 gfc_be_parse_file ../../gcc/fortran/f95-lang.c:198