This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/78282] [6 Regression] Overload resolution failure, in parameter pack expansion, inside a template class
- 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: Wed, 12 Apr 2017 19:23:34 +0000
- Subject: [Bug c++/78282] [6 Regression] Overload resolution failure, in parameter pack expansion, inside a template class
- Auto-submitted: auto-generated
- References: <bug-78282-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78282
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Apr 12 19:23:02 2017
New Revision: 246889
URL: https://gcc.gnu.org/viewcvs?rev=246889&root=gcc&view=rev
Log:
PR c++/78282 - auto template and pack expansion
* pt.c (find_parameter_packs_r): Don't walk into the type of
templates other than template template-parameters.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/auto-fn36.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/pt.c