https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91438
--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Fri Aug 23 11:42:19 2019 New Revision: 274853 URL: https://gcc.gnu.org/viewcvs?rev=274853&root=gcc&view=rev Log: Backport r274504 2019-08-23 Martin Liska <mli...@suse.cz> PR ipa/91508 Backport from mainline 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: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/cgraph.c