https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80774
--- Comment #6 from Vittorio Zecca <zeccav at gmail dot com> --- Still in current trunk. gfortran -S gfbug132.f -fcoarray=single gfbug132.f:18:72: 18 | deallocate(obj%link) | 1 internal compiler error: in gfc_get_descriptor_field, at fortran/trans-array.c:140 0x623c3e gfc_get_descriptor_field ../../gcc-150221/gcc/fortran/trans-array.c:140 0x90990a gfc_conv_descriptor_data_get(tree_node*) ../../gcc-150221/gcc/fortran/trans-array.c:159 0x9078a4 gfc_deallocate_with_status(tree_node*, tree_node*, tree_node*, tree_node*, tree_node*, bool, gfc_expr*, int, tree_node*, tree_node*) ../../gcc-150221/gcc/fortran/trans.c:1433 0x91bcad structure_alloc_comps ../../gcc-150221/gcc/fortran/trans-array.c:9031 0x91c93a gfc_deallocate_alloc_comp(gfc_symbol*, tree_node*, int, int) ../../gcc-150221/gcc/fortran/trans-array.c:9821 0x908132 gfc_deallocate_scalar_with_status(tree_node*, tree_node*, tree_node*, bool, gfc_expr*, gfc_typespec, bool) ../../gcc-150221/gcc/fortran/trans.c:1652 0x992c69 gfc_trans_deallocate(gfc_code*) ../../gcc-150221/gcc/fortran/trans-stmt.c:7379 0x9042a7 trans_code ../../gcc-150221/gcc/fortran/trans.c:2098 0x932f53 gfc_generate_function_code(gfc_namespace*) ../../gcc-150221/gcc/fortran/trans-decl.c:6880 0x8afaae translate_all_program_units ../../gcc-150221/gcc/fortran/parse.c:6351 0x8afaae gfc_parse_file() ../../gcc-150221/gcc/fortran/parse.c:6620 0x9010ef gfc_be_parse_file ../../gcc-150221/gcc/fortran/f95-lang.c:212 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.