[Bug c++/25855] [4.0/4.1/4.2 Regression] template specialisation not always found (partial ordering)

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jan 28 19:24:00 GMT 2006



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

Author: mmitchel
Date: Sat Jan 28 19:24:03 2006
New Revision: 110329

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110329
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_0-branch/gcc/testsuite/g++.dg/template/spec29.C
Modified:
    branches/gcc-4_0-branch/gcc/cp/ChangeLog
    branches/gcc-4_0-branch/gcc/cp/pt.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/template/crash39.C


-- 


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



More information about the Gcc-bugs mailing list