[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 20:55:00 GMT 2009
------- Comment #10 from jason at gcc dot gnu dot org 2009-04-06 20:55 -------
Subject: Bug 35146
Author: jason
Date: Mon Apr 6 20:55:04 2009
New Revision: 145625
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145625
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:
trunk/gcc/testsuite/g++.dg/template/fnspec1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35146
More information about the Gcc-bugs
mailing list