[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
Tue Apr 7 03:51:00 GMT 2009
------- Comment #12 from jason at gcc dot gnu dot org 2009-04-07 03:51 -------
Subject: Bug 35146
Author: jason
Date: Tue Apr 7 03:50:49 2009
New Revision: 145647
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145647
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_3-branch/gcc/testsuite/g++.dg/template/fnspec1.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/pt.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35146
More information about the Gcc-bugs
mailing list