From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23465 invoked by alias); 27 Sep 2006 18:34:52 -0000 Received: (qmail 23427 invoked by uid 48); 27 Sep 2006 18:34:42 -0000 Date: Wed, 27 Sep 2006 18:34:00 -0000 Message-ID: <20060927183442.23426.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/29254] [4.2 Regression] verify_cgraph_node failed (inlined_to pointer is set but no predecessors found) 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-09/txt/msg02587.txt.bz2 List-Id: ------- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-27 18:34 ------- Here is a reduced testcase: typedef struct _GList GList; typedef struct _KvpFrame KvpFrame; typedef struct _KvpValue KvpValue; struct _KvpValue { int type; GList *list; }; kvp_glist_compare (GList * list1,GList * list2) { while (list1) kvp_value_compare (); } kvp_frame_for_each_slot (KvpFrame * f, void *data){} kvp_value_compare (KvpValue * kva, KvpValue * kvb) { switch (kva->type) { case 0: kvp_glist_compare (kva->list, kvb->list); } } kvp_frame_compare (const KvpFrame * fb) { int status; kvp_frame_for_each_slot ((KvpFrame *) fb,&status); } ----- But I am thinking there are two bugs here, first the warning I think it bogus as there is a cast in the argument for the function. Second is the ICE. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|error-recovery, ice-on- | |invalid-code | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29254