https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117826

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Full backtrace:
bug.cpp:4294:29: internal compiler error: Segmentation fault
0x290315e internal_error(char const*, ...)
       
/home/apinski/src/upstream-gcc-match/gcc/gcc/diagnostic-global-context.cc:518
0x13e88b6 crash_signal
        /home/apinski/src/upstream-gcc-match/gcc/gcc/toplev.cc:323
0xb83c3d contains_struct_check(tree_node*, tree_node_structure_enum, char
const*, int, char const*)
        /home/apinski/src/upstream-gcc-match/gcc/gcc/tree.h:3788
0xb83c3d tree_decl_hash::hash(tree_node*)
        /home/apinski/src/upstream-gcc-match/gcc/gcc/tree.h:5939
0xb83c3d simple_hashmap_traits<tree_decl_hash, unsigned int>::hash(tree_node*
const&)
        /home/apinski/src/upstream-gcc-match/gcc/gcc/hash-map-traits.h:50
0xb83c3d hash_map<tree_node*, unsigned int,
simple_hashmap_traits<tree_decl_hash, unsigned int>
>::hash_entry::hash(hash_map<tree_node*, unsigned int,
simple_hashmap_traits<tree_decl_hash, unsigned int> >::hash_entry const&)
        /home/apinski/src/upstream-gcc-match/gcc/gcc/hash-map.h:52
0xb83c3d hash_table<hash_map<tree_node*, unsigned int,
simple_hashmap_traits<tree_decl_hash, unsigned int> >::hash_entry, false,
xcallocator>::expand()
        /home/apinski/src/upstream-gcc-match/gcc/gcc/hash-table.h:886
0xb82ef8 hash_table<hash_map<tree_node*, unsigned int,
simple_hashmap_traits<tree_decl_hash, unsigned int> >::hash_entry, false,
xcallocator>::find_slot_with_hash(tree_node* const&, unsigned int,
insert_option)
        /home/apinski/src/upstream-gcc-match/gcc/gcc/hash-table.h:1040
0xb82ef8 hash_map<tree_node*, unsigned int,
simple_hashmap_traits<tree_decl_hash, unsigned int> >::get_or_insert(tree_node*
const&, bool*)
        /home/apinski/src/upstream-gcc-match/gcc/gcc/hash-map.h:201
0xb82ef8 unsigned int& hash_map_safe_get_or_insert<false, tree_node*, unsigned
int, simple_hashmap_traits<tree_decl_hash, unsigned int> >(hash_map<tree_node*,
unsigned int, simple_hashmap_traits<tree_decl_hash, unsigned int> >*&,
tree_node* const&, bool*, unsigned long)
        /home/apinski/src/upstream-gcc-match/gcc/gcc/hash-map.h:376
0xb82ef8 cp_adjust_diagnostic_info
        /home/apinski/src/upstream-gcc-match/gcc/gcc/cp/error.cc:241
0xb82ef8 cp_adjust_diagnostic_info
        /home/apinski/src/upstream-gcc-match/gcc/gcc/cp/error.cc:228
0x28ed503 diagnostic_context::report_diagnostic(diagnostic_info*)
        /home/apinski/src/upstream-gcc-match/gcc/gcc/diagnostic.cc:1335
0x28edade diagnostic_context::diagnostic_impl(rich_location*,
diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag
(*) [1], diagnostic_t)
        /home/apinski/src/upstream-gcc-match/gcc/gcc/diagnostic.cc:1588
0x2902b46 error_at(unsigned int, char const*, ...)
       
/home/apinski/src/upstream-gcc-match/gcc/gcc/diagnostic-global-context.cc:426
0xb827df qualified_name_lookup_error(tree_node*, tree_node*, tree_node*,
unsigned int)
        /home/apinski/src/upstream-gcc-match/gcc/gcc/cp/error.cc:4821
0xd0c04f finish_id_expression_1
        /home/apinski/src/upstream-gcc-match/gcc/gcc/cp/semantics.cc:4478
0xd0c8f9 finish_id_expression(tree_node*, tree_node*, tree_node*, cp_id_kind*,
bool, bool, bool*, bool, bool, bool, bool, char const**, unsigned int)
        /home/apinski/src/upstream-gcc-match/gcc/gcc/cp/semantics.cc:4774
0xc46fe0 cp_parser_primary_expression
        /home/apinski/src/upstream-gcc-match/gcc/gcc/cp/parser.cc:6345
0xc5d516 cp_parser_postfix_expression
        /home/apinski/src/upstream-gcc-match/gcc/gcc/cp/parser.cc:8012
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to