[Bug c++/60605] incorrect diagosis of default template argument for function declaration inside class template member function

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 17 23:09:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60605

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun 17 23:09:20 2014
New Revision: 211754

URL: https://gcc.gnu.org/viewcvs?rev=211754&root=gcc&view=rev
Log:
    PR c++/60605
    * pt.c (check_default_tmpl_args): Check DECL_LOCAL_FUNCTION_P.

Added:
    trunk/gcc/testsuite/g++.dg/template/local-fn1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c



More information about the Gcc-bugs mailing list