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