From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15497 invoked by alias); 2 Feb 2006 19:32:28 -0000 Received: (qmail 15483 invoked by uid 48); 2 Feb 2006 19:32:25 -0000 Date: Thu, 02 Feb 2006 19:32:00 -0000 Message-ID: <20060202193225.15482.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/25514] [m68k] internal consistency failure 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-02/txt/msg00197.txt.bz2 List-Id: ------- Comment #3 from pinskia at gcc dot gnu dot org 2006-02-02 19:32 ------- Reduced testcase on the mainline: void __attribute__((const)) g(void); struct variable_set{int i;}; struct variable_set_list { struct variable_set_list *next; struct variable_set *set; }; extern struct variable_set_list *current_variable_set_list; static struct variable_set global_variable_set; static struct variable_set_list global_setlist = { 0, &global_variable_set }; void pop_variable_scope (void) { struct variable_set_list *setlist; if (current_variable_set_list->next == 0) g(); if (current_variable_set_list != &global_setlist) { setlist = current_variable_set_list; current_variable_set_list = setlist->next; } else { setlist = global_setlist.next; global_setlist.set = setlist->set; global_setlist.next = setlist->next; } free ((char *) setlist); } -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-02-02 19:32:25 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25514