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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.3
            Summary|[5.0] ICE on module end,    |[4.9/5.0 Regression] ICE in
                   |gfc_conv_descriptor_data_ge |gfc_conv_descriptor_data_ge
                   |t                           |t for generated finalizer

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
The problem seems to occur in the finalizer, i.e. __final_coo_graphs_Coo_graph
for the component ref (ptr2 is of type coo_graph):

  ptr2->edges

which is an array_type - but with fixed bounds; it fails in
gfc_conv_descriptor_data_get for line

157       gcc_assert (GFC_DESCRIPTOR_TYPE_P (type));

Reply via email to