This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/59989] [4.7/4.8/4.9 Regression] ICE when a template parameter pack is explicitly specified for a function template and provides a complete argument list for a template
- 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, 29 Jan 2014 22:12:41 +0000
- Subject: [Bug c++/59989] [4.7/4.8/4.9 Regression] ICE when a template parameter pack is explicitly specified for a function template and provides a complete argument list for a template
- Auto-submitted: auto-generated
- References: <bug-59989-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59989
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jan 29 22:12:09 2014
New Revision: 207285
URL: http://gcc.gnu.org/viewcvs?rev=207285&root=gcc&view=rev
Log:
PR c++/59989
* pt.c (expand_template_argument_pack): Correct
non_default_args_count calculation.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/variadic148.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c