This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/35986] [4.1/4.2/4.3/4.4 regression] ICE with ambiguous template functions



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]