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++/50298] [C++0x][constexpr] References cannot be bound to static constexpr reference members


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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-07 17:11:56 UTC ---
Author: jason
Date: Wed Sep  7 17:11:49 2011
New Revision: 178652

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178652
Log:
    PR c++/50298
    * parser.c (cp_parser_member_declaration): Don't require a constant
    rvalue here in C++0x.

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