From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17743 invoked by alias); 14 May 2003 16:23:47 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 17664 invoked by uid 48); 14 May 2003 16:23:45 -0000 Date: Wed, 14 May 2003 16:23:00 -0000 Message-ID: <20030514162345.17663.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, hijaszu@mail.novo-iram.hu, nobody@gcc.gnu.org From: giovannibajo@libero.it Reply-To: giovannibajo@libero.it, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, hijaszu@mail.novo-iram.hu, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/10780: compiler crash on code with error X-SW-Source: 2003-05/txt/msg01656.txt.bz2 List-Id: Synopsis: compiler crash on code with error State-Changed-From-To: open->closed State-Changed-By: bajo State-Changed-When: Wed May 14 16:23:44 2003 State-Changed-Why: Confirmed: ----------------------------------- struct Foo { Foo() {} ~Foo() {} }; void func(int x) { switch (x) { case 0: Foo a; break; default: ; } } ----------------------------------- pr10780.ii: In function `void func(int)': pr10780.ii:15: jump to case label pr10780.ii:12: crosses initialization of `Foo a' Internal compiler error: Error reporting routines re-entered. Please submit a full bug report, but fixed already in GCC 3.3 and mainline (3.4 20030503). http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10780