[Bug c++/79176] [6/7 Regression] ICE in mangle_decl with LTO and Os
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 26 16:34:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79176
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Jan 26 16:34:03 2017
New Revision: 244937
URL: https://gcc.gnu.org/viewcvs?rev=244937&root=gcc&view=rev
Log:
PR c++/79176 - lambda ICE with -flto -Os
* decl2.c (vague_linkage_p): Handle decloned 'tors.
* tree.c (decl_linkage): Likewise.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/opt/declone3.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/decl2.c
branches/gcc-6-branch/gcc/cp/tree.c
More information about the Gcc-bugs
mailing list