[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 15:06:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list