[Bug c++/84812] [8 Regression] ICE with local function
nathan at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 19 14:07:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84812
--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Mon Mar 19 14:07:07 2018
New Revision: 258644
URL: https://gcc.gnu.org/viewcvs?rev=258644&root=gcc&view=rev
Log:
[C++/84812] ICE with local fn decl
https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00872.html
PR c++/84812
* name-lookup.c (set_local_extern_decl_linkage): Defend against
ambiguous lookups.
PR c++/84812
* g++.dg/lookup/pr84812.C: New.
Added:
trunk/gcc/testsuite/g++.dg/lookup/pr84812.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/name-lookup.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list