re PR c++/35986 (ICE with ambiguous template functions)
authorJakub Jelinek <jakub@redhat.com>
Wed, 30 Apr 2008 14:24:18 +0000 (16:24 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 30 Apr 2008 14:24:18 +0000 (16:24 +0200)
commit56b1a55446a0646c53a2474be6051acf592e1da7
tree6f42f93af03d5aa653deb3fc9cdc0674829d7621
parent5856b807fddfa9bd4b4a7b22dd0e1279eea795d4
re PR c++/35986 (ICE with ambiguous template functions)

PR c++/35986
* pt.c (more_specialized_fn): Stop the loop even if there are no
arguments before ellipsis.

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

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