[Bug c++/79296] [6/7 Regression] ICE in mangle_decl, at cp/mangle.c:3845

nathan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 13 18:13:00 GMT 2017


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

--- Comment #5 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Mon Feb 13 18:12:17 2017
New Revision: 245400

URL: https://gcc.gnu.org/viewcvs?rev=245400&root=gcc&view=rev
Log:
        PR c++/79296 - ICE mangling localized template instantiation
        * decl2.c (determine_visibility): Use template fn context for
        local class instantiations.

        PR c++/79296
        * g++.dg/cpp0x/pr79296.C: New.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/pr79296.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/decl2.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list