[Bug c++/84707] [8 Regression] internal compiler error: Segmentation fault (tree_check()/duplicate_decls())
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 5 16:16:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84707
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Mon Mar 5 16:15:35 2018
New Revision: 258255
URL: https://gcc.gnu.org/viewcvs?rev=258255&root=gcc&view=rev
Log:
PR c++/84707
* decl.c (duplicate_decls): Check DECL_NAME before accessing
UDLIT_OPER_P.
* g++.dg/cpp0x/inline-ns10.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/inline-ns10.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list