[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:11:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60605
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun 17 23:10:33 2014
New Revision: 211756
URL: https://gcc.gnu.org/viewcvs?rev=211756&root=gcc&view=rev
Log:
PR c++/60605
* pt.c (check_default_tmpl_args): Check DECL_LOCAL_FUNCTION_P.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/template/local-fn1.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list