[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:25:00 GMT 2006
------- Comment #17 from mmitchel at gcc dot gnu dot org 2006-01-28 19:24 -------
Subject: Bug 25855
Author: mmitchel
Date: Sat Jan 28 19:24:45 2006
New Revision: 110331
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110331
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.
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25855
More information about the Gcc-bugs
mailing list