This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/35146] [4.3/4.4/4.5 regression] weird error in template function specialization



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]