https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115107
--- Comment #16 from anlauf at gcc dot gnu.org --- (In reply to Natalie Perlin from comment #15) > Quick update: > > Software stack and model build with gnu/13.3.0 was clear from all previous > issues! So issue with the gnu/13.x.0 compiler could be considered as fixed, > thank you so much for the help here. Good! > Build with gnu/14.1.0 generated more ICEs, however. > FYI, the compiler errors looked as following: > > ----- > ...register_variable_attribute.inc:56:60: > > internal compiler error: in gfc_walk_array_ref, at > fortran/trans-array.cc:11870 > 0x75dffb gfc_walk_array_ref(gfc_ss*, gfc_expr*, gfc_ref*) > ../../gcc/fortran/trans-array.cc:11870 > 0x8d5f90 gfc_walk_expr(gfc_expr*) > ../../gcc/fortran/trans-array.cc:12232 > 0x75dffb gfc_walk_array_ref(gfc_ss*, gfc_expr*, gfc_ref*) > ../../gcc/fortran/trans-array.cc:11870 > 0x8d5f90 gfc_walk_expr(gfc_expr*) > ../../gcc/fortran/trans-array.cc:12232 > 0x8fb2c8 gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*, > gfc_expr*, vec<tree_node*, va_gc, vl_embed>*) > ../../gcc/fortran/trans-expr.cc:6578 > 0x8fb2c8 gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*, > gfc_expr*, vec<tree_node*, va_gc, vl_embed>*) > ../../gcc/fortran/trans-expr.cc:6578 > 0x90c46a gfc_conv_expr_reference(gfc_se*, gfc_expr*) > ../../gcc/fortran/trans-expr.cc:9979 > 0x8fd2f4 gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*, > gfc_expr*, vec<tree_node*, va_gc, vl_embed>*) > ../../gcc/fortran/trans-expr.cc:6756 > 0x90f4b8 gfc_trans_assignment_1 > ../../gcc/fortran/trans-expr.cc:12287 > 0x90c46a gfc_conv_expr_reference(gfc_se*, gfc_expr*) > ../../gcc/fortran/trans-expr.cc:9979 > 0x8fd2f4 gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*, > gfc_expr*, vec<tree_node*, va_gc, vl_embed>*) > ../../gcc/fortran/trans-expr.cc:6756 > 0x90f4b8 gfc_trans_assignment_1 > ../../gcc/fortran/trans-expr.cc:12287 > 0x8c3897 trans_code > ... > ... (more diagnostic prints) > ... > Please submit a full bug report, with preprocessed source (by using > -freport-bug). > Please include the complete backtrace with any bug report. > See <https://gcc.gnu.org/bugs/> for instructions. > 0x8657ad translate_all_program_units > ../../gcc/fortran/parse.cc:7086 > Please submit a full bug report, with preprocessed source (by using > -freport-bug). > ---------------- Well, that is a different traceback and likely a different error. Can you provide a reduced reproducer? As you write, the ICE does not occur in 13.3 but is new at 14.1, so having the new bug in a different PR might make it easier to track than keeping it here.