semantics.c (validate_constexpr_fundecl): Check DECL_TEMPLATE_INFO rather than DECL_T...
authorJason Merrill <jason@redhat.com>
Wed, 11 May 2011 21:30:10 +0000 (17:30 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 11 May 2011 21:30:10 +0000 (17:30 -0400)
commit3c5283a738132562b7711278a09d3bd09239b7be
treea4be4fd1abb3748131f72ffe15dd993481907f93
parent9b41f0d3273a3a8561eebeec150357d80ed09819
semantics.c (validate_constexpr_fundecl): Check DECL_TEMPLATE_INFO rather than DECL_TEMPLATE_INSTANTIATION.

* semantics.c (validate_constexpr_fundecl): Check DECL_TEMPLATE_INFO
rather than DECL_TEMPLATE_INSTANTIATION.
(cxx_eval_call_expression): Likewise.

From-SVN: r173682
gcc/cp/ChangeLog
gcc/cp/semantics.c