This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r108837 - in /trunk/gcc: cp/ChangeLog cp/class....
- From: mmitchel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 20 Dec 2005 04:44:21 -0000
- Subject: r108837 - in /trunk/gcc: cp/ChangeLog cp/class....
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