From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19032 invoked by alias); 18 Sep 2006 15:33:01 -0000 Received: (qmail 18951 invoked by alias); 18 Sep 2006 15:32:52 -0000 Date: Mon, 18 Sep 2006 15:33:00 -0000 Message-ID: <20060918153252.18950.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/29087] [4.1/4.2 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/msg01714.txt.bz2 List-Id: ------- Comment #8 from steven at gcc dot gnu dot org 2006-09-18 15:32 ------- Subject: Bug 29087 Author: steven Date: Mon Sep 18 15:32:43 2006 New Revision: 117026 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117026 Log: PR c++/29087 * 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: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29087