From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28020 invoked by alias); 3 Feb 2009 14:27:38 -0000 Received: (qmail 27997 invoked by uid 48); 3 Feb 2009 14:27:26 -0000 Date: Tue, 03 Feb 2009 14:27:00 -0000 Subject: [Bug c/39084] New: [4.3/4.4 regression] ice on struct redefinition X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bonzini at gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-02/txt/msg00204.txt.bz2 The following program ICEs at -O2 or higher: struct color { }; static const struct color col; struct color * f(void) { return (struct color *) &col; } struct color { }; -- Summary: [4.3/4.4 regression] ice on struct redefinition Product: gcc Version: 4.3.4 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39084