[Bug c++/84707] [8 Regression] internal compiler error: Segmentation fault (tree_check()/duplicate_decls())
nathan at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 31 12:38:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84707
--- Comment #9 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Fri Aug 31 12:38:00 2018
New Revision: 264016
URL: https://gcc.gnu.org/viewcvs?rev=264016&root=gcc&view=rev
Log:
[PR c++/87155] Anonymous namespace and
https://gcc.gnu.org/ml/gcc-patches/2018-08/msg02031.html
PR c++/87155
PR c++/84707
cp/
* name-lookup.c (name_lookup::search_namespace): Don't look at
inlines when searching for NULL names.
testsuite/
* g++.dg/cpp0x/pr87155.C: New.
* g++.dg/cpp0x/inline-ns10.C: Adjust.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/pr87155.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/name-lookup.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/cpp0x/inline-ns10.C
More information about the Gcc-bugs
mailing list