re PR c++/63924 (Constexpr constructible expression "is not constexpr" when used...
authorJason Merrill <jason@redhat.com>
Wed, 19 Nov 2014 03:03:45 +0000 (22:03 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 19 Nov 2014 03:03:45 +0000 (22:03 -0500)
commit052beba43fcefe280c617045f03dfe37fcd5b81a
tree791d225ae5241592bde9beb4dcfe27f18935728d
parent58611fb6fa0c1bab4ea0f77df43df67e9a9d19b0
re PR c++/63924 (Constexpr constructible expression "is not constexpr" when used in a template non-type argument)

PR c++/63924
* constexpr.c (cxx_eval_constant_expression) [PARM_DECL]: A load
from a variable of empty class type is constant.

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