[Bug ipa/91508] [9 Regression] Segfault due to referencing removed cgraph_node
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 23 11:42:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91508
--- Comment #5 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 <mliska@suse.cz>
PR ipa/91508
Backport from mainline
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.
Modified:
branches/gcc-9-branch/gcc/ChangeLog
branches/gcc-9-branch/gcc/cgraph.c
More information about the Gcc-bugs
mailing list