[Bug c++/24915] [3.4/4.0/4.1/4.2 Regression] Overload errors generated without template instantiations for class member templates
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 20 04:44:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list