re PR c++/33962 (ICE at call to overloaded template function with variable-length...
commit63d34078b671ef7f3666daea632596f0885ee840
authorJakub Jelinek <jakub@redhat.com>
Tue, 20 Nov 2007 06:26:11 +0000 (20 07:26 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 20 Nov 2007 06:26:11 +0000 (20 07:26 +0100)
treea1484ba038821600a058165256579857c900269d
parentcb96cf3b9d2dbcf559f06db3eb6b2072629a821c
re PR c++/33962 (ICE at call to overloaded template function with variable-length function argument list)

PR c++/33962
* pt.c (more_specialized_fn): Don't segfault if one or
both argument list end with ellipsis.

* g++.dg/overload/template3.C: New test.

From-SVN: r130308
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/overload/template3.C [new file with mode: 0644]