[Bug c++/51738] C++11 initializer list does not work correctly with operator[]

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 3 15:00:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51738

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-03 15:00:03 UTC ---
(In reply to comment #1)
> Uhm, is it simply that cp_parser_postfix_open_square_expression doesn't handle:
> 
>   postfix-expression [ braced-init-list ]
> 
> or I'm misreading the C++11 grammar vs our parser?

Yep, that's the problem.



More information about the Gcc-bugs mailing list