https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96418

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2020-08-03
                 CC|                            |anlauf at gcc dot gnu.org
           Priority|P3                          |P4
     Ever confirmed|0                           |1

--- Comment #2 from anlauf at gcc dot gnu.org ---
Running under gdb, I get the same traceback for both.

(gdb) r coarray_alloc_comp_3.f08 -fcoarray=single

 coarray_alloc_comp_3coarray_alloc_comp_3.f08:43:0:

   43 |   deallocate(obj%link)
      | 
internal compiler error: in gfc_conv_descriptor_data_get, at
fortran/trans-array.c:148
0x75e30d gfc_conv_descriptor_data_get(tree_node*)
        ../../gcc-trunk/gcc/fortran/trans-array.c:148
0x75b904 gfc_deallocate_with_status(tree_node*, tree_node*, tree_node*,
tree_node*, tree_node*, bool, gfc_expr*, int, tree_node*, tree_node*)
        ../../gcc-trunk/gcc/fortran/trans.c:1378
0x772b68 structure_alloc_comps
        ../../gcc-trunk/gcc/fortran/trans-array.c:8916
0x77430a gfc_deallocate_alloc_comp(gfc_symbol*, tree_node*, int, int)
        ../../gcc-trunk/gcc/fortran/trans-array.c:9711
0x75c30a gfc_deallocate_scalar_with_status(tree_node*, tree_node*, tree_node*,
bool, gfc_expr*, gfc_typespec, bool)
        ../../gcc-trunk/gcc/fortran/trans.c:1597
0x7fce5f gfc_trans_deallocate(gfc_code*)
        ../../gcc-trunk/gcc/fortran/trans-stmt.c:7350
0x757717 trans_code
        ../../gcc-trunk/gcc/fortran/trans.c:2040
0x78ec05 gfc_generate_function_code(gfc_namespace*)
        ../../gcc-trunk/gcc/fortran/trans-decl.c:6845
0x7071b7 translate_all_program_units
        ../../gcc-trunk/gcc/fortran/parse.c:6347
0x7071b7 gfc_parse_file()
        ../../gcc-trunk/gcc/fortran/parse.c:6616
0x753a8f gfc_be_parse_file
        ../../gcc-trunk/gcc/fortran/f95-lang.c:212

Reply via email to