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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Jan 22 21:51:53 2018
New Revision: 256964

URL: https://gcc.gnu.org/viewcvs?rev=256964&root=gcc&view=rev
Log:
        PR c++/83720 - ICE with lambda and LTO.

        * decl2.c (determine_visibility): Clear template_decl for
        function-scope decls.  Propagate anonymous linkage from containing
        function.

Added:
    trunk/gcc/testsuite/g++.dg/lto/pr83720_0.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c

Reply via email to