From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26442 invoked by alias); 1 Apr 2005 21:57:16 -0000 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 Received: (qmail 26405 invoked by uid 48); 1 Apr 2005 21:57:12 -0000 Date: Fri, 01 Apr 2005 21:57:00 -0000 Message-ID: <20050401215712.26404.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050401191842.20721.nefercheprure@gmail.com> References: <20050401191842.20721.nefercheprure@gmail.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/20721] [3.4/4.0/4.1 Regression] crossing of a initialization left undetected on goto X-Bugzilla-Reason: CC X-SW-Source: 2005-04/txt/msg00086.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-01 21:57 ------- Reduced testcase for the accepts invalid, I will then reduce the ICE on the mainline soon (note you have some other invalid code in there): bool f(); void g(int i) { if (i) goto bad; bool a = f(); bad: ; } -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |accepts-invalid Known to fail| |3.4.3 4.0.0 Known to work| |3.4.0 3.4.2 Last reconfirmed|0000-00-00 00:00:00 |2005-04-01 21:57:11 date| | Summary|[regression from 3.4.2 to |[3.4/4.0/4.1 Regression] |3.4.3] crossing of a |crossing of a initialization |initialization left |left undetected on goto |undetected on goto | Target Milestone|--- |3.4.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20721