re PR c++/65498 (ICE in cxx_eval_call_expression when using __func__ inside dependent...
authorJason Merrill <jason@redhat.com>
Tue, 24 Mar 2015 19:38:28 +0000 (15:38 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 24 Mar 2015 19:38:28 +0000 (15:38 -0400)
commit4b7c558dd0ba4af1796c070a26cdeaf60acbad5e
tree8526d42aafd74d1e07a883f525fa94b1c78f1de1
parente5bca5f62ed46cc290a5ed458ca808dafa8f9640
re PR c++/65498 (ICE in cxx_eval_call_expression when using __func__ inside dependent context)

PR c++/65498
* pt.c (get_mostly_instantiated_function_type): Just return the
type of the partially instantiated template in DECL_TI_TEMPLATE.

From-SVN: r221641
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/constexpr-targ2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-template13.C