[Bug c++/54922] [C++11][DR 1359] constexpr constructors require initialization of all union members

paolo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 7 11:16:00 GMT 2012


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

--- Comment #8 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-11-07 11:15:50 UTC ---
Author: paolo
Date: Wed Nov  7 11:15:40 2012
New Revision: 193292

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193292
Log:
/cp
2012-11-07  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/55226
    Revert:
    2012-10-23  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/54922
    * semantics.c (cx_check_missing_mem_inits): Handle anonymous union
    members.

/testsuite
2012-11-07  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/55226
    Revert:
    2012-10-23  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/54922
    * g++.dg/cpp0x/constexpr-union4.C: New.

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



More information about the Gcc-bugs mailing list