From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19464 invoked by alias); 21 Sep 2006 20:28:05 -0000 Received: (qmail 19407 invoked by alias); 21 Sep 2006 20:27:52 -0000 Date: Thu, 21 Sep 2006 20:28:00 -0000 Message-ID: <20060921202752.19406.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/29087] [4.1 Regression] More than 35000 switch cases crash cc1plus In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "steven 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/msg02100.txt.bz2 List-Id: ------- Comment #10 from steven at gcc dot gnu dot org 2006-09-21 20:27 ------- Subject: Bug 29087 Author: steven Date: Thu Sep 21 20:27:36 2006 New Revision: 117120 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117120 Log: 2006-09-21 Steven Bosscher PR c++/29087 Backport from mainline: * parser.c (cp_parser_labeled_statement): Return nothing. Do not take in_statement_expr and in_compound as arguments. Rename to cp_parser_label_for_labeled_statement. Parse only the label, not the statement. (cp_parser_statement): Parse the statement of a labeled-statement from here, using tail recursion. Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/parser.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29087