This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/27882] [4.2 regression] segfault in ipa-inline.c, if (e->callee->local.disregard_inline_limits
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2006 06:00:49 -0000
- Subject: [Bug tree-optimization/27882] [4.2 regression] segfault in ipa-inline.c, if (e->callee->local.disregard_inline_limits
- References: <bug-27882-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from pinskia at gcc dot gnu dot org 2006-06-07 06:00 -------
Wait in tree-inline.c, we do:
/* Update callgraph if needed. */
cgraph_remove_node (cg_edge->callee);
Isn't that wrong as we could inline the callee a couple of times?
Don't we want to do:
/* Update callgraph if needed. */
cgraph_remove_edge (cg_edge);
???
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27882