[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

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 30 01:55:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59989

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Jan 30 01:54:33 2014
New Revision: 207293

URL: http://gcc.gnu.org/viewcvs?rev=207293&root=gcc&view=rev
Log:
    PR c++/59989
    * pt.c (expand_template_argument_pack): Correct
    non_default_args_count calculation.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/g++.dg/cpp0x/variadic148.C
Modified:
    branches/gcc-4_8-branch/gcc/cp/ChangeLog
    branches/gcc-4_8-branch/gcc/cp/pt.c



More information about the Gcc-bugs mailing list