PR c++/79296 - ICE mangling localized template instantiation
authorNathan Sidwell <nathan@acm.org>
Mon, 13 Feb 2017 17:42:31 +0000 (17:42 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 13 Feb 2017 17:42:31 +0000 (17:42 +0000)
commitb9a161ff70e1f6451783b4d850189e01516818ce
tree6bc93add89319b65b0867647c87fd9dee7cc527c
parent7953a24c609aab00b163738fff12ff230fc0a5b5
PR c++/79296 - ICE mangling localized template instantiation

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.

From-SVN: r245398
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr79296.C [new file with mode: 0644]