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++/24915] [3.4 Regression] Overload errors generated without template instantiations for class member templates



------- Comment #9 from reichelt at gcc dot gnu dot org  2006-02-01 11:52 -------
Subject: Bug 24915

Author: reichelt
Date: Wed Feb  1 11:52:56 2006
New Revision: 110472

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110472
Log:
        Backport:
        2005-12-19  Mark Mitchell  <mark@codesourcery.com>

        PR c++/24915
        * class.c (add_method): Do not treat templates as identical unless
        their return types are the same.

        * g++.dg/template/overload8.C: New test.

Added:
    branches/gcc-3_4-branch/gcc/testsuite/g++.dg/template/overload8.C
Modified:
    branches/gcc-3_4-branch/gcc/cp/ChangeLog
    branches/gcc-3_4-branch/gcc/cp/class.c
    branches/gcc-3_4-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24915


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