[Bug analyzer/97489] [11 Regression] ICE: Segmentation fault (in ana::supergraph::get_node_for_function_entry(function*) const) since r10-5950-g757bf1dff5e8cee3

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 19 14:12:00 GMT 2020


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

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Thanks; confirmed, though for me I see the ICE with
g:af66094d037793773eb8a49597866457f2f6a104, and do not see the ICE with its
predecessor; in particular the backtrace shows add_any_callbacks which I added
in that commit.

It's crashing on "__dt_comp ", finding the dtor in the vtable when building the
initial worklist, here:

    96      return get_node_for_block (ENTRY_BLOCK_PTR_FOR_FN (fun));

where fun->cfg is NULL.  Working on a fix.


More information about the Gcc-bugs mailing list