PR c++/79296 - ICE mangling localized template instantiation
commit5d5f1138b6677263d8c7f0f5d3aed23fb75e6106
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Feb 2017 17:42:31 +0000 (13 17:42 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Feb 2017 17:42:31 +0000 (13 17:42 +0000)
tree6bc93add89319b65b0867647c87fd9dee7cc527c
parent777285f0005e89f83bf25aa22257211a676182ac
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245398 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr79296.C [new file with mode: 0644]