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