This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79296] [6/7 Regression] ICE in mangle_decl, at cp/mangle.c:3845
- From: "nathan at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Feb 2017 17:43:03 +0000
- Subject: [Bug c++/79296] [6/7 Regression] ICE in mangle_decl, at cp/mangle.c:3845
- Auto-submitted: auto-generated
- References: <bug-79296-4@http.gcc.gnu.org/bugzilla/>
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