https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115107
--- Comment #15 from Natalie Perlin <natalie.perlin at noaa dot gov> --- 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. 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). ----------------