This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24915] [3.4 Regression] Overload errors generated without template instantiations for class member templates
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Feb 2006 11:52:59 -0000
- Subject: [Bug c++/24915] [3.4 Regression] Overload errors generated without template instantiations for class member templates
- References: <bug-24915-11729@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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