re PR c++/65896 (Erroneous uninitialized variable access error in constexpr function...
authorJason Merrill <jason@redhat.com>
Tue, 28 Apr 2015 21:27:17 +0000 (17:27 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 28 Apr 2015 21:27:17 +0000 (17:27 -0400)
commit3f8e2835ae414fe8f6895ed7cfe7171cea506c70
treef164f28394dd9a352b0fea7f1bd3117604375ebb
parentdb6113067cc3a35141c9a341aa7ffb60786e3e5b
re PR c++/65896 (Erroneous uninitialized variable access error in constexpr function with temporary variables)

PR c++/65896
* constexpr.c (cxx_eval_store_expression): Don't try to actually
store an empty class.

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