[Bug c++/35146] [4.3/4.4/4.5 regression] weird error in template function specialization
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Apr 6 21:35:00 GMT 2009
------- Comment #11 from jason at gcc dot gnu dot org 2009-04-06 21:35 -------
Subject: Bug 35146
Author: jason
Date: Mon Apr 6 21:35:29 2009
New Revision: 145634
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145634
Log:
PR c++/35146
* pt.c (fn_type_unification): For DEDUCE_EXACT check that
the deduced template arguments give us the parameter types
we're looking for.
Added:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/fnspec1.C
Modified:
branches/gcc-4_4-branch/gcc/cp/ChangeLog
branches/gcc-4_4-branch/gcc/cp/pt.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35146
More information about the Gcc-bugs
mailing list