]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/51675 ([C++11][4.7 Regression] Cannot create constexpr unions)
authorJason Merrill <jason@redhat.com>
Wed, 8 Feb 2012 09:52:19 +0000 (04:52 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 8 Feb 2012 09:52:19 +0000 (04:52 -0500)
commit88f7a9f691c91abf96a2ebe01e8e9dacb57d2426
tree1effa9fa3ac6b2ec9153c656ca5818fd538b0542
parent84d594c6487e4502beb72786cdd82c234b549a98
re PR c++/51675 ([C++11][4.7 Regression] Cannot create constexpr unions)

PR c++/51675
* semantics.c (cx_check_missing_mem_inits): Handle unions.
Fix constexpr default constructor logic.

From-SVN: r184001
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-union3.C [new file with mode: 0644]