This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/85646] [7/8/9 Regression] Incorrect lambda visibility with -fvisibility=hidden


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85646

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon May  7 23:50:16 2018
New Revision: 260017

URL: https://gcc.gnu.org/viewcvs?rev=260017&root=gcc&view=rev
Log:
        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.

Added:
    trunk/gcc/testsuite/g++.dg/ext/visibility/lambda1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]