[Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261

xerofoify at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Mar 5 21:30:00 GMT 2020


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

--- Comment #13 from Nicholas Krause <xerofoify at gmail dot com> ---
Please forget the previous comment in verify_edge_corresponds_to_fndecl we need
to switch it to this:
if (e->callee->former_clone_of != node->symbol.decl
&& (!n->symbol.cpp_implicit_alias        
|| e->callee->former_clone_of != alias_node->symbol.alias_target ))

from the current:
 if (e->callee->former_clone_of != node->symbol.decl

as those other cases are missing in the patch posted after looking at it.


More information about the Gcc-bugs mailing list