[Bug c++/61857] An init-capturing lambda is parsed incorrectly when used in a braced-init-list

2014-09-23 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61857 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/61857] An init-capturing lambda is parsed incorrectly when used in a braced-init-list

2014-09-23 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61857 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Tue Sep 23 18:07:59 2014 New Revision: 215528 URL: https://gcc.gnu.org/viewcvs?rev=215528&root=gcc&view=rev Log: /cp 2014-09-23 Paolo Carlini PR c++/61857 * parser.

[Bug c++/61857] An init-capturing lambda is parsed incorrectly when used in a braced-init-list

2014-09-23 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61857 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/61857] An init-capturing lambda is parsed incorrectly when used in a braced-init-list

2014-09-22 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61857 --- Comment #1 from Paolo Carlini --- In our case the issue is slightly different, the problem is in cp_parser_initializer_list, here: cp_parser_parse_tentatively (parser); cp_lexer_consume_token (parser->lexer); designator = c

[Bug c++/61857] An init-capturing lambda is parsed incorrectly when used in a braced-init-list

2014-07-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61857 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|