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++/54922] [C++11][DR 1359] constexpr constructors require initialization of all union members


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

--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> 2013-02-15 01:27:52 UTC ---
Author: jason
Date: Fri Feb 15 01:27:47 2013
New Revision: 196070

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196070
Log:
    PR c++/54922
    * semantics.c (build_anon_member_initialization): New.
    (build_data_member_initialization): Use it.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-union4.C
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-union5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c


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