PR c++/85646 - lambda visibility.
authorJason Merrill <jason@redhat.com>
Mon, 7 May 2018 23:50:16 +0000 (19:50 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 7 May 2018 23:50:16 +0000 (19:50 -0400)
commit6b83a3c6e3b408a00a0fb326828571770706ec24
tree5abd16b134266c0d742ad5afcdeb2cfbfcc27a82
parentee336e846de46aa5523a96f712d247c31a07c6e1
PR c++/85646 - lambda visibility.

* decl2.c (determine_visibility): Don't mess with template arguments
from the containing scope.
(vague_linkage_p): Check DECL_ABSTRACT_P before looking at a 'tor
thunk.

From-SVN: r260017
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/g++.dg/ext/visibility/lambda1.C [new file with mode: 0644]