Clean next_nested properly.
authorMartin Liska <mliska@suse.cz>
Thu, 15 Aug 2019 06:58:36 +0000 (08:58 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 15 Aug 2019 06:58:36 +0000 (06:58 +0000)
commitcc8495056efac06fa57d36512903b06026c01470
tree126d6233b485280fe6160d8873b0e6a55561d75b
parentb275fd98f267ea870c9583e8a28f1348777786a3
Clean next_nested properly.

2019-08-15  Martin Liska  <mliska@suse.cz>

PR ipa/91438
* cgraph.c (cgraph_node::remove): When setting
n->origin = NULL for all nested functions, reset
also next_nested.

From-SVN: r274504
gcc/ChangeLog
gcc/cgraph.c