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/4.0/4.1/4.2 Regression] Overload errors generated without template instantiations for class member templates



------- Comment #6 from mmitchel at gcc dot gnu dot org  2005-12-20 04:44 -------
Subject: Bug 24915

Author: mmitchel
Date: Tue Dec 20 04:44:20 2005
New Revision: 108837

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108837
Log:
        PR c++/24915
        * class.c (add_method): Do not treat templates as identical unless
        their return types are the same.
        PR c++/24915
        * g++.dg/template/overload8.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/template/overload8.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/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]