This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r108836 - in /branches/gcc-4_1-branch/gcc: cp/C...
- From: mmitchel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 20 Dec 2005 04:39:33 -0000
- Subject: r108836 - in /branches/gcc-4_1-branch/gcc: cp/C...
Author: mmitchel
Date: Tue Dec 20 04:39:30 2005
New Revision: 108836
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108836
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:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/overload8.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/class.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog