[Bug lto/83720] [8 Regression] ICE: in mangle_decl, at cp/mangle.c:3847
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 22 21:52:00 GMT 2018
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
More information about the Gcc-bugs
mailing list