[Bug c++/35986] [4.1/4.2/4.3/4.4 regression] ICE with ambiguous template functions
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 30 14:26:00 GMT 2008
------- Comment #2 from jakub at gcc dot gnu dot org 2008-04-30 14:25 -------
Subject: Bug 35986
Author: jakub
Date: Wed Apr 30 14:24:18 2008
New Revision: 134823
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134823
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:
trunk/gcc/testsuite/g++.dg/overload/template4.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35986
More information about the Gcc-bugs
mailing list