[Bug fortran/82972] ICE with -finit-derived in gfc_conv_structure, at fortran/trans-expr.c:7733 (and others)
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Mon Nov 13 21:06:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82972
--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---
Files from catalog ./gcc/testsuite/gfortran.dg :
pdt_10.f03
pdt_2.f03
$ gfortran-8-20171105 -finit-derived -c pdt_2.f03
$ gfortran-8-20171112 -finit-derived -c pdt_2.f03
pdt_2.f03:25:0:
end subroutine
internal compiler error: in gfc_conv_string_init, at fortran/trans-const.c:148
0x77ff69 gfc_conv_string_init(tree_node*, gfc_expr*)
../../gcc/fortran/trans-const.c:148
0x7a827f gfc_conv_initializer(gfc_expr*, gfc_typespec*, tree_node*, bool, bool,
bool)
../../gcc/fortran/trans-expr.c:6874
0x7a8921 gfc_conv_structure(gfc_se*, gfc_expr*, int)
../../gcc/fortran/trans-expr.c:7735
0x7a82b1 gfc_conv_initializer(gfc_expr*, gfc_typespec*, tree_node*, bool, bool,
bool)
../../gcc/fortran/trans-expr.c:6867
0x78c5fc gfc_get_symbol_decl(gfc_symbol*)
../../gcc/fortran/trans-decl.c:1819
0x790327 generate_local_decl
../../gcc/fortran/trans-decl.c:5492
0x74802b do_traverse_symtree
../../gcc/fortran/symbol.c:4157
0x7910f2 generate_local_vars
../../gcc/fortran/trans-decl.c:5692
0x7910f2 gfc_generate_function_code(gfc_namespace*)
../../gcc/fortran/trans-decl.c:6356
0x715dc0 translate_all_program_units
../../gcc/fortran/parse.c:6091
0x715dc0 gfc_parse_file()
../../gcc/fortran/parse.c:6294
0x75b20f gfc_be_parse_file
../../gcc/fortran/f95-lang.c:204
More information about the Gcc-bugs
mailing list