https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91438
--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Thu Aug 15 06:58:36 2019 New Revision: 274504 URL: https://gcc.gnu.org/viewcvs?rev=274504&root=gcc&view=rev Log: Clean next_nested properly. 2019-08-15 Martin Liska <mli...@suse.cz> PR ipa/91438 * cgraph.c (cgraph_node::remove): When setting n->origin = NULL for all nested functions, reset also next_nested. Modified: trunk/gcc/ChangeLog trunk/gcc/cgraph.c