https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89047
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tkoenig at gcc dot gnu.org Summary|ICE in |[OpenACC] ICE in |mark_scope_block_unused, at |mark_scope_block_unused, at |tree-ssa-live.c:391 |tree-ssa-live.c:391 --- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- (In reply to kargl from comment #2) > The code in the original comment now compiles. Likely fixed by one of > Tobias's recent patches. At r279064, I get a different place where it crashes: z1.f90:18:0: 18 | c = g(x) | interner Compiler-Fehler: Speicherzugriffsfehler 0xe0dfff crash_signal ../../trunk/gcc/toplev.c:328 0x8ee73f tree_check3(tree_node*, char const*, int, char const*, tree_code, tree_code, tree_code) ../../trunk/gcc/tree.h:3311 0x8ee73f gfc_conv_component_ref ../../trunk/gcc/fortran/trans-expr.c:2461 0x8f794b gfc_conv_variable ../../trunk/gcc/fortran/trans-expr.c:2829 0x8f68e0 gfc_conv_expr_lhs(gfc_se*, gfc_expr*) ../../trunk/gcc/fortran/trans-expr.c:8695 0x8c5788 gfc_conv_ss_descriptor ../../trunk/gcc/fortran/trans-array.c:2962 0x8c8690 gfc_conv_ss_startstride(gfc_loopinfo*) ../../trunk/gcc/fortran/trans-array.c:4340 0x8f8684 gfc_conv_subref_array_arg(gfc_se*, gfc_expr*, int, sym_intent, bool, gfc_symbol const*, char const*, gfc_symbol*, bool) ../../trunk/gcc/fortran/trans-expr.c:4663 0x902c5a gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*, gfc_expr*, vec<tree_node*, va_gc, vl_embed>*) ../../trunk/gcc/fortran/trans-expr.c:6185 0x8f62ba gfc_apply_interface_mapping(gfc_interface_mapping*, gfc_se*, gfc_expr*) ../../trunk/gcc/fortran/trans-expr.c:4589 0x8c4643 gfc_set_loop_bounds_from_array_spec(gfc_interface_mapping*, gfc_se*, gfc_array_spec*) ../../trunk/gcc/fortran/trans-array.c:1012 0x900ffd gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*, gfc_expr*, vec<tree_node*, va_gc, vl_embed>*) ../../trunk/gcc/fortran/trans-expr.c:6733 0x906905 gfc_conv_function_expr ../../trunk/gcc/fortran/trans-expr.c:7517 0x906905 gfc_trans_arrayfunc_assign ../../trunk/gcc/fortran/trans-expr.c:10066 0x907494 gfc_trans_assignment(gfc_expr*, gfc_expr*, bool, bool, bool, bool) ../../trunk/gcc/fortran/trans-expr.c:11187 0x8bd372 trans_code ../../trunk/gcc/fortran/trans.c:1852 0x8eb37e gfc_generate_function_code(gfc_namespace*) ../../trunk/gcc/fortran/trans-decl.c:6801 0x8c1691 gfc_generate_module_code(gfc_namespace*) ../../trunk/gcc/fortran/trans.c:2252 0x86a7d5 translate_all_program_units ../../trunk/gcc/fortran/parse.c:6289 0x86a7d5 gfc_parse_file() ../../trunk/gcc/fortran/parse.c:6541 Is this ICE on valid or ICE on invalid?