This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65879] [4.9/5/6 Regression] Bogus linkage errors for member class of anonymous class
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Jun 2015 14:29:26 +0000
- Subject: [Bug c++/65879] [4.9/5/6 Regression] Bogus linkage errors for member class of anonymous class
- Auto-submitted: auto-generated
- References: <bug-65879-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65879
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun 23 14:28:55 2015
New Revision: 224846
URL: https://gcc.gnu.org/viewcvs?rev=224846&root=gcc&view=rev
Log:
PR c++/65879
* tree.c (no_linkage_check): Skip the 'this' pointer.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/other/anon7.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/tree.c