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++/25855] [4.0/4.1/4.2 Regression] template specialisation not always found (partial ordering)



------- Comment #16 from mmitchel at gcc dot gnu dot org  2006-01-28 19:24 -------
Subject: Bug 25855

Author: mmitchel
Date: Sat Jan 28 19:24:11 2006
New Revision: 110330

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110330
Log:
        PR c++/25855
        * pt.c (most_speialized_instantiation): When a tie occurs, set the
        current presumed champion to the next template.
        PR c++/25855
        * g++.dg/template/spec29.C: New test.
        * g++.dg/template/crash39.C: Tweak error markers.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/spec29.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/pt.c
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash39.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25855


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