PR c++/79296 - ICE mangling localized template instantiation 99/127499/2
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Apr 2017 10:56:35 +0000 (13:56 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Thu, 8 Jun 2017 00:10:25 +0000 (00:10 +0000)
commit14e9820ddef8026797810979ba66e32696c058cc
tree287b7878a8f482313360568e4a833362f5a3992e
parentd0fd3198b9b5e12a93160958427bc17ef0d2fa69
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.

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