This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35986] [4.1/4.2/4.3/4.4 regression] ICE with ambiguous template functions
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Apr 2008 15:05:41 -0000
- Subject: [Bug c++/35986] [4.1/4.2/4.3/4.4 regression] ICE with ambiguous template functions
- References: <bug-35986-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from jakub at gcc dot gnu dot org 2008-04-30 15:05 -------
Subject: Bug 35986
Author: jakub
Date: Wed Apr 30 15:04:56 2008
New Revision: 134824
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134824
Log:
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.
Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/overload/template4.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/pt.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35986