From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19245 invoked by alias); 12 Nov 2008 17:12:19 -0000 Received: (qmail 19086 invoked by uid 22791); 12 Nov 2008 17:12:17 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 12 Nov 2008 17:11:40 +0000 Received: (qmail 26179 invoked from network); 12 Nov 2008 17:11:38 -0000 Received: from unknown (HELO ?192.168.0.2?) (mitchell@127.0.0.2) by mail.codesourcery.com with ESMTPA; 12 Nov 2008 17:11:38 -0000 Message-ID: <491B0E3A.6010709@codesourcery.com> Date: Wed, 12 Nov 2008 17:18:00 -0000 From: Mark Mitchell User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jakub Jelinek CC: Jason Merrill , gcc-patches@gcc.gnu.org Subject: Re: [C++ PATCH] Don't commit to tentative parse in cp_parser_simple_declaration if there were parse errors (PR c++/34269) References: <20081112143008.GP3572@tyan-ft48-01.lab.bos.redhat.com> In-Reply-To: <20081112143008.GP3572@tyan-ft48-01.lab.bos.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2008-11/txt/msg00536.txt.bz2 Jakub Jelinek wrote: > 2008-11-12 Jakub Jelinek > > PR c++/34269 > * parser.c (cp_parser_simple_declaration): Don't commit > to tentative parse if parse errors were seen. > > * g++.dg/cpp0x/decltype13.C: New test. > * g++.dg/cpp0x/decltype-33837.C: Adjust dg-error pattern. > * g++.dg/cpp0x/pr33839.C: Likewise. OK. -- Mark Mitchell CodeSourcery mark@codesourcery.com (650) 331-3385 x713