This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25369] [3.4/4.0/4.1/4.2 Regression] use of inline function in template class leads to undefined reference
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Dec 2005 07:50:29 -0000
- Subject: [Bug c++/25369] [3.4/4.0/4.1/4.2 Regression] use of inline function in template class leads to undefined reference
- References: <bug-25369-11868@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from mmitchel at gcc dot gnu dot org 2005-12-23 07:50 -------
Subject: Bug 25369
Author: mmitchel
Date: Fri Dec 23 07:50:26 2005
New Revision: 109012
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109012
Log:
2005-12-22 Mark Mitchell <mark@codesourcery.com>
PR c++/25369
* pt.c (tsubst_copy): Call mark_used on the member referenced by an
OFFSET_REF.
* decl2.c (mark_used): Accept BASELINKs.
2005-12-22 Mark Mitchell <mark@codesourcery.com>
PR c++/25369
* g++.dg/template/ptrmem16.C: New test.
Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/template/ptrmem16.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/decl2.c
branches/gcc-4_0-branch/gcc/cp/pt.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25369