cp-tree.h (DECL_DEFERRED_CONSTEXPR_CHECK): New.
authorJason Merrill <jason@redhat.com>
Thu, 12 May 2011 17:33:53 +0000 (13:33 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 12 May 2011 17:33:53 +0000 (13:33 -0400)
commit16c20b0a551b3f6dede9db64afd46f8ea10e87d6
treeb475e170f405b3a910fa829f9f4b2a0e447a9c65
parent7bf9a5ac1c5310efed24c42eab522e4e9ade1933
cp-tree.h (DECL_DEFERRED_CONSTEXPR_CHECK): New.

* cp-tree.h (DECL_DEFERRED_CONSTEXPR_CHECK): New.
* semantics.c (validate_constexpr_fundecl): Set it.
(check_deferred_constexpr_decls): Clear it.
(register_constexpr_fundef): Make sure it isn't set.
* decl.c (grok_special_member_properties): Check it.

From-SVN: r173707
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-incomplete2.C [new file with mode: 0644]