[Bug c++/54891] [C++11] lambda-expression and explicit type conversion (cast notation)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54891 --- Comment #2 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org --- Author: paolo Date: Mon Jun 30 18:30:50 2014 New Revision: 212162 URL: https://gcc.gnu.org/viewcvs?rev=212162root=gccview=rev Log: /cp 2014-06-30 Paolo Carlini paolo.carl...@oracle.com PR c++/54891 * parser.c (cp_parser_tokens_start_cast_expression): In C++11 a '[' can also start a primary-expression. (cp_parser_cast_expression): Parse a cast-expression only tentatively when cp_parser_tokens_start_cast_expression returns -1. /testsuite 2014-06-30 Paolo Carlini paolo.carl...@oracle.com PR c++/54891 * g++.dg/cpp0x/lambda/lambda-cast1.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-cast1.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog
[Bug c++/54891] [C++11] lambda-expression and explicit type conversion (cast notation)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54891 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED Assignee|paolo.carlini at oracle dot com|unassigned at gcc dot gnu.org Target Milestone|--- |4.10.0 --- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com --- Fixed for 4.10.0.
[Bug c++/54891] [C++11] lambda-expression and explicit type conversion (cast notation)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54891 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |paolo.carlini at oracle dot com --- Comment #1 from Paolo Carlini paolo.carlini at oracle dot com --- Mine.
[Bug c++/54891] [C++11] lambda-expression and explicit type conversion (cast notation)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54891 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2013-05-21 Blocks||54367 Ever confirmed|0 |1