public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52725] [4.7/4.8 Regression] error: "capture of non-variable" for new-expression incorrectly parsed as lambda-expression Date: Fri, 01 Jun 2012 21:20:00 -0000 [thread overview] Message-ID: <bug-52725-4-yddDKmDH4u@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-52725-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52725 Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> 2012-06-01 21:19:26 UTC --- Author: jason Date: Fri Jun 1 21:19:22 2012 New Revision: 188127 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188127 Log: PR c++/52725 * parser.c (cp_parser_binary_expression): Bail early if we're parsing tentatively and the LHS has a parse error. Added: trunk/gcc/testsuite/g++.dg/parse/new6.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/template/sizeof-template-argument.C --- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> 2012-06-01 21:19:42 UTC --- Author: jason Date: Fri Jun 1 21:19:36 2012 New Revision: 188128 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188128 Log: PR c++/52725 * parser.c (cp_parser_binary_expression): Bail early if we're parsing tentatively and the LHS has a parse error. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/parse/new6.C Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/parser.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog branches/gcc-4_7-branch/gcc/testsuite/g++.dg/template/sizeof-template-argument.C --- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> 2012-06-01 21:20:19 UTC --- Fixed for 4.7.1.
next prev parent reply other threads:[~2012-06-01 21:20 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-03-26 15:31 [Bug c++/52725] New: error: capture of non-variable (in regards to a variable) lahart.joseph at gmail dot com 2012-03-26 15:46 ` [Bug c++/52725] " redi at gcc dot gnu.org 2012-05-25 11:10 ` steffen_moeller at gmx dot de 2012-05-25 11:30 ` [Bug c++/52725] error: "capture of non-variable" for new-expression incorrectly parsed as lambda-expression redi at gcc dot gnu.org 2012-05-29 10:34 ` steffen_moeller at gmx dot de 2012-05-29 11:34 ` steffen_moeller at gmx dot de 2012-05-29 11:56 ` [Bug c++/52725] [4.7/4.8 Regression] " redi at gcc dot gnu.org 2012-05-29 12:03 ` redi at gcc dot gnu.org 2012-05-29 14:33 ` rguenth at gcc dot gnu.org 2012-06-01 17:03 ` jason at gcc dot gnu.org 2012-06-01 21:19 ` jason at gcc dot gnu.org 2012-06-01 21:20 ` jason at gcc dot gnu.org [this message] 2012-06-01 21:20 ` jason at gcc dot gnu.org 2012-06-01 21:21 ` jason at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-52725-4-yddDKmDH4u@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).