[Bug c++/25369] [3.4/4.0/4.1/4.2 Regression] use of inline function in template class leads to undefined reference
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Dec 23 07:42:00 GMT 2005
------- Comment #12 from mmitchel at gcc dot gnu dot org 2005-12-23 07:42 -------
Subject: Bug 25369
Author: mmitchel
Date: Fri Dec 23 07:42:20 2005
New Revision: 109011
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109011
Log:
PR c++/25369
* pt.c (tsubst_copy): Call mark_used on the member referenced by an
OFFSET_REF.
* decl2.c (mark_used): Accept BASELINKs.
PR c++/25369
* g++.dg/template/ptrmem16.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/ptrmem16.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/decl2.c
branches/gcc-4_1-branch/gcc/cp/pt.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25369
More information about the Gcc-bugs
mailing list