[Bug c++/69743] [5/6 Regression] function overload with variadic arguments - template instantiation depth exceeds maximum (gcc4, clang - no problem)

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 20 04:32:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69743

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sat Feb 20 04:31:16 2016
New Revision: 233579

URL: https://gcc.gnu.org/viewcvs?rev=233579&root=gcc&view=rev
Log:
        PR c++/69743
        * call.c (remaining_arguments): No longer static.
        * cp-tree.h: Declare it.
        * pt.c (more_specialized_fn): Use it.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic167.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/pt.c

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sat Feb 20 04:31:29 2016
New Revision: 233580

URL: https://gcc.gnu.org/viewcvs?rev=233580&root=gcc&view=rev
Log:
        PR c++/69743
        * call.c (remaining_arguments): No longer static.
        * cp-tree.h: Declare it.
        * pt.c (more_specialized_fn): Use it.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/variadic167.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/call.c
    branches/gcc-5-branch/gcc/cp/cp-tree.h
    branches/gcc-5-branch/gcc/cp/pt.c


More information about the Gcc-bugs mailing list