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++/50563] [C++0x] Weird syntax acceptance rules for non-static data members initialized in place


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-14 19:13:05 UTC ---
Author: jason
Date: Fri Oct 14 19:12:57 2011
New Revision: 180003

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180003
Log:
    PR c++/50563
    * parser.c (cp_parser_cache_group): Handle end==CPP_COMMA.
    (cp_parser_save_nsdmi): Pass it.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi-list1.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]