class.c (finalize_literal_type_property): Update conditions.
authorJason Merrill <jason@redhat.com>
Wed, 29 Jun 2011 14:34:39 +0000 (10:34 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 29 Jun 2011 14:34:39 +0000 (10:34 -0400)
commitb198484e89cb986f278461a0ee2229154c6654ee
treeeddc02ef3cf46bce04652e8616df117283a29d25
parent1f2911476d723f30c53dd175589b2b561e36c439
class.c (finalize_literal_type_property): Update conditions.

* class.c (finalize_literal_type_property): Update conditions.
* method.c (defaulted_late_check): Set TYPE_HAS_CONSTEXPR_CTOR.

From-SVN: r175644
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-is_literal.C