This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60605] incorrect diagosis of default template argument for function declaration inside class template member function
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Jun 2014 23:04:16 +0000
- Subject: [Bug c++/60605] incorrect diagosis of default template argument for function declaration inside class template member function
- Auto-submitted: auto-generated
- References: <bug-60605-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60605
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun 17 23:03:43 2014
New Revision: 211753
URL: https://gcc.gnu.org/viewcvs?rev=211753&root=gcc&view=rev
Log:
PR c++/60605
* pt.c (check_default_tmpl_args): Check DECL_LOCAL_FUNCTION_P.
Added:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/template/local-fn1.C
Modified:
branches/gcc-4_8-branch/gcc/cp/ChangeLog
branches/gcc-4_8-branch/gcc/cp/pt.c