From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25630 invoked by alias); 7 Jun 2006 06:01:01 -0000 Received: (qmail 25487 invoked by uid 48); 7 Jun 2006 06:00:49 -0000 Date: Wed, 07 Jun 2006 06:19:00 -0000 Message-ID: <20060607060049.25486.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/27882] [4.2 regression] segfault in ipa-inline.c, if (e->callee->local.disregard_inline_limits In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-06/txt/msg00765.txt.bz2 List-Id: ------- 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