This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/50209] [C++0x] Braced-init-lists are rejected as function default arguments


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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-08-30 04:30:38 UTC ---
Author: jason
Date: Tue Aug 30 04:30:27 2011
New Revision: 178275

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178275
Log:
    PR c++/50209
    Core DR 994
    * parser.c (cp_parser_default_argument): Use
    cp_parser_initializer_clause.
    (cp_parser_late_parsing_default_args): Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist58.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]