https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81124
Bug ID: 81124 Summary: internal compiler error: in operator*, at cp/cp-tree.h:726 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: hunter at openrobotics dot org Target Milestone: --- Got an internal compiler error, seems to be a regression. /home/allenh1/ros2_ws/src/ros2/rclcpp/rclcpp/src/rclcpp/parameter.cpp:254:65: internal compiler error: in operator*, at cp/cp-tree.h:726 std::to_string(const rclcpp::parameter::ParameterVariant & param) Here's the backtrace: 0x5e48d9 ovl_iterator::operator*() const ../../gcc-dev/gcc/cp/cp-tree.h:726 0x8c6a3e ovl_iterator::operator*() const ../../gcc-dev/gcc/cp/cp-tree.h:726 0x8c6a3e set_decl_namespace(tree_node*, tree_node*, bool) ../../gcc-dev/gcc/cp/name-lookup.c:4341 0x5c4f18 grokfndecl ../../gcc-dev/gcc/cp/decl.c:8605 0x8654a4 grokdeclarator(cp_declarator const*, cp_decl_specifier_seq*, decl_context, int, tree_node**) ../../gcc-dev/gcc/cp/decl.c:12220 0x868e46 start_function(cp_decl_specifier_seq*, cp_declarator const*, tree_node*) ../../gcc-dev/gcc/cp/decl.c:15139 0x8e5e6f cp_parser_function_definition_from_specifiers_and_declarator ../../gcc-dev/gcc/cp/parser.c:26162 0x8e5e6f cp_parser_init_declarator ../../gcc-dev/gcc/cp/parser.c:19172 0x90280c cp_parser_simple_declaration ../../gcc-dev/gcc/cp/parser.c:12804 0x903535 cp_parser_block_declaration ../../gcc-dev/gcc/cp/parser.c:12629 0x8d9144 cp_parser_declaration ../../gcc-dev/gcc/cp/parser.c:12527 0x909b2b cp_parser_declaration_seq_opt ../../gcc-dev/gcc/cp/parser.c:12403 0x909e52 cp_parser_translation_unit ../../gcc-dev/gcc/cp/parser.c:4364 0x909e52 c_parse_file() ../../gcc-dev/gcc/cp/parser.c:38477 0xa09926 c_common_parse_file() ../../gcc-dev/gcc/c-family/c-opts.c:1104