https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79296
--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> --- Author: nathan Date: Mon Feb 13 17:42:31 2017 New Revision: 245398 URL: https://gcc.gnu.org/viewcvs?rev=245398&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: trunk/gcc/testsuite/g++.dg/cpp0x/pr79296.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl2.c trunk/gcc/testsuite/ChangeLog