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: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2006 12:18:31 -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 #14 from hubicka at ucw dot cz 2006-06-07 12:18 -------
Subject: Re: [4.2 regression] segfault in ipa-inline.c, if
(e->callee->local.disregard_inline_limits
>
>
> ------- 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?
It should be OK - if we inline multiple times, we create multiple nodes.
I will look into this.
Honza
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27882