PR c++/80856 - ICE with local extern in template
commitc11227a50a93755811da6d451b83f9a63e509cfe
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 May 2017 21:13:27 +0000 (30 21:13 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 May 2017 21:13:27 +0000 (30 21:13 +0000)
tree232b2b27bf148eba86b45cb90e902fa16978fb7e
parent4d1eda3ac6f22a81b1df2015f95060777908b42c
PR c++/80856 - ICE with local extern in template

* semantics.c (finish_call_expr): Replace a local extern overload
set in a template with the IDENTIFIER_NODE.

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