]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/65879
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Jun 2015 14:08:30 +0000 (14:08 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Jun 2015 14:08:30 +0000 (14:08 +0000)
commit42fcf9ee5d40de268a295ac638f3d906cf02b562
treeb64a9cc3052b051948ce2c2171bb946a4ac81d64
parent23d64a17f5ae088c8b6e04f5db94f6cacc0492d2
PR c++/65879
* decl.c (grokfndecl): Check the linkage of ctype, not just
TYPE_ANONYMOUS_P.
* tree.c (no_linkage_check): Skip the 'this' pointer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224844 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/tree.c
gcc/testsuite/g++.dg/abi/anon2.C
gcc/testsuite/g++.dg/other/anon7.C [new file with mode: 0644]