[Bug c++/80856] [7/8 Regression] ICE from template local overload resolution
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 30 22:01:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80856
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue May 30 21:13:27 2017
New Revision: 248699
URL: https://gcc.gnu.org/viewcvs?rev=248699&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/template/local-fn2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
More information about the Gcc-bugs
mailing list