Summary: | [C++0x] initialization construct interpreted as function declaration | ||
---|---|---|---|
Product: | gcc | Reporter: | Nathan Ridge <zeratul976> |
Component: | c++ | Assignee: | Jason Merrill <jason> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jason |
Priority: | P3 | ||
Version: | 4.6.0 | ||
Target Milestone: | 4.6.1 | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2011-05-25 15:42:06 |
Description
Nathan Ridge
2011-01-05 18:36:07 UTC
Author: jason Date: Wed May 25 19:50:49 2011 New Revision: 174225 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174225 Log: PR c++/47184 * parser.c (cp_parser_parameter_declaration): Recognize list-initialization. (cp_parser_direct_declarator): Check for the closing paren before parsing definitely. Added: trunk/gcc/testsuite/g++.dg/cpp0x/initlist51.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog Author: jason Date: Wed May 25 20:29:39 2011 New Revision: 174232 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174232 Log: PR c++/47184 * parser.c (cp_parser_parameter_declaration): Recognize list-initialization. (cp_parser_direct_declarator): Check for the closing paren before parsing definitely. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/initlist51.C Modified: branches/gcc-4_6-branch/gcc/cp/ChangeLog branches/gcc-4_6-branch/gcc/cp/parser.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog Fixed for 4.6.1. ...and actually change status. |