[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 15:31:00 GMT 2017


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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Jan 26 15:30:43 2017
New Revision: 244935

URL: https://gcc.gnu.org/viewcvs?rev=244935&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:
    trunk/gcc/testsuite/g++.dg/opt/declone3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c
    trunk/gcc/cp/tree.c


More information about the Gcc-bugs mailing list