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++/51526] [C++11][constexpr] constexpr delegating constructor should be accepted


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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-12-19 21:06:48 UTC ---
Author: jason
Date: Mon Dec 19 21:06:44 2011
New Revision: 182499

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182499
Log:
    PR c++/51526
    * semantics.c (build_data_member_initialization): Handle
    delegating constructor.
    (build_constexpr_constructor_member_initializers): Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-delegating.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.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]