[Bug c++/65498] [5 Regression] ICE in cxx_eval_call_expression when using __func__ inside dependent context
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 24 20:01:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65498
--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Mar 24 19:38:28 2015
New Revision: 221641
URL: https://gcc.gnu.org/viewcvs?rev=221641&root=gcc&view=rev
Log:
PR c++/65498
* pt.c (get_mostly_instantiated_function_type): Just return the
type of the partially instantiated template in DECL_TI_TEMPLATE.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-targ2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-template13.C
More information about the Gcc-bugs
mailing list