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

--- Comment #5 from Eric Gallager <egall at gwmail dot gwu.edu> ---
(In reply to Eric Gallager from comment #4)
> 
> I'll leave the debug session open; let me know if you need any more info...

Never mind, I closed the debugger, but can reopen it if necessary. Here's an
even fuller backtrace I got before closing it:

(gdb) bt full
#0  0x00135430 in do_warn_duplicated_branches (expr=0x560ba10) at
../../gcc/c-family/c-warn.c:2362
        thenb = (tree) 0x0
        elseb = (tree) 0x55e7f80
        hstate0 = {
  val = 1132540324, 
  bits = 509
}
        h0 = 3221187736
        hstate1 = {
  val = 233, 
  bits = 439
}
        h1 = 342339
#1  0x001355ff in do_warn_duplicated_branches_r (tp=0x55fdaa0) at
../../gcc/c-family/c-warn.c:2401
No locals.
#2  0x01751efd in walk_tree_1 (tp=0x55fdaa0, func=0x1355de
<_Z29do_warn_duplicated_branches_rPP9tree_nodePiPv>, data=0x0, pset=0xbfff6f4c,
lh=0) at ../../gcc/tree.c:11838
        code = 479
        walk_subtrees = 1
        result = (tree) 0x4381320c
       
_ZZ11walk_tree_1PP9tree_nodePFS0_S1_PiPvES3_P8hash_setIS0_19default_hash_traitsIS0_EEPFS0_S1_S2_S5_S3_SA_EE12__FUNCTION__
= "walk_tree_1"
#3  0x017522a2 in walk_tree_1 (tp=0x56149a4, func=0x1355de
<_Z29do_warn_duplicated_branches_rPP9tree_nodePiPv>, data=0x0, pset=0xbfff6f4c,
lh=0) at ../../gcc/tree.c:11943
        i = {
  ptr = 0x55fda98, 
  container = 0x5612a3c
}
        code = STATEMENT_LIST
        walk_subtrees = 1
        result = (tree) 0x0
       
_ZZ11walk_tree_1PP9tree_nodePFS0_S1_PiPvES3_P8hash_setIS0_19default_hash_traitsIS0_EEPFS0_S1_S2_S5_S3_SA_EE12__FUNCTION__
= "walk_tree_1"
#4  0x017522a2 in walk_tree_1 (tp=0x560b960, func=0x1355de
<_Z29do_warn_duplicated_branches_rPP9tree_nodePiPv>, data=0x0, pset=0xbfff6f4c,
lh=0) at ../../gcc/tree.c:11943
        i = {
  ptr = 0x55fda5c, 
  container = 0x561226c
}
        code = STATEMENT_LIST
        walk_subtrees = 1
        result = (tree) 0x0
       
_ZZ11walk_tree_1PP9tree_nodePFS0_S1_PiPvES3_P8hash_setIS0_19default_hash_traitsIS0_EEPFS0_S1_S2_S5_S3_SA_EE12__FUNCTION__
= "walk_tree_1"
#5  0x017522a2 in walk_tree_1 (tp=0x560ba5c, func=0x1355de
<_Z29do_warn_duplicated_branches_rPP9tree_nodePiPv>, data=0x0, pset=0xbfff6f4c,
lh=0) at ../../gcc/tree.c:11943
        i = {
  ptr = 0x55fdab0, 
  container = 0x560c190
}
        code = STATEMENT_LIST
        walk_subtrees = 1
        result = (tree) 0x0
       
_ZZ11walk_tree_1PP9tree_nodePFS0_S1_PiPvES3_P8hash_setIS0_19default_hash_traitsIS0_EEPFS0_S1_S2_S5_S3_SA_EE12__FUNCTION__
= "walk_tree_1"
#6  0x01751b3b in walk_tree_without_duplicates_1 (tp=0x53a7bec, func=0x1355de
<_Z29do_warn_duplicated_branches_rPP9tree_nodePiPv>, data=0x0, lh=0) at
../../gcc/tree.c:12181
        result = (tree) 0x437d2490
        pset = {
  m_table = {
    m_entries = 0x43812e00, 
    m_size = 509, 
    m_n_elements = 230, 
    m_n_deleted = 0, 
    m_searches = 361, 
    m_collisions = 299, 
    m_size_prime_index = 6, 
    m_ggc = false, 
    m_gather_mem_stats = false
  }
}
#7  0x001091ba in c_genericize (fndecl=0x53a7b80) at
../../gcc/c-family/c-gimplify.c:129
        dump_orig = (FILE *) 0x53a7b80
        local_dump_flags = 0
        cgn = (cgraph_node *) 0x6
#8  0x0003f382 in finish_function () at ../../gcc/c/c-decl.c:9350
        fndecl = (tree) 0x53a7b80
#9  0x00081370 in c_parser_declaration_or_fndef (parser=0x436a60a8,
fndef_ok=true, static_assert_ok=true, empty_ok=true, nested=false,
start_attr_ok=true, objc_foreach_object_declaration=0x0,
omp_declare_simd_clauses={m_vec = 0x0}, oacc_routine_data=0x0,
fallthru_attr_p=0x0) at ../../gcc/c/c-parser.c:2147
        tv = TV_PARSE_FUNC
        fnbody = (tree) 0x560ba48
        fndecl = (tree) 0x53a7b80
        declarator = (c_declarator *) 0x434b81a0
        dummy = true
        at = {
  m_timer = 0x0, 
  m_tv = TV_PARSE_FUNC
}
        specs = (c_declspecs *) 0x434b8010
        prefix_attrs = (tree) 0x0
        all_prefix_attrs = (tree) 0x0
        diagnosed_no_specs = false
        here = 2147688185
        auto_type_p = false
#10 0x000ab4fd in c_parser_external_declaration (parser=0x436a60a8) at
../../gcc/c/c-parser.c:1469
        ext = 1291845632
        _ZZL29c_parser_external_declarationP8c_parserE12__FUNCTION__ =
"c_parser_external_declaration"
#11 0x000ab650 in c_parser_translation_unit (parser=0x436a60a8) at
../../gcc/c/c-parser.c:1349
        obstack_position = (void *) 0x434b8010
        i = 3221189208
        decl = (tree) 0xbfff794c
#12 0x000ab7ca in c_parse_file () at ../../gcc/c/c-parser.c:18112
        tparser = {
  tokens = 0xbfff7274, 
  tokens_buf = {{
      type = CPP_KEYWORD, 
      id_kind = C_ID_NONE, 
      keyword = RID_TYPEDEF, 
      pragma_kind = PRAGMA_NONE, 
      location = 57329990, 
      value = 0x43618990, 
      flags = 64 '@'
    }, {
      type = CPP_EQ, 
      id_kind = C_ID_ID, 
      keyword = RID_STATIC, 
      pragma_kind = PRAGMA_NONE, 
      location = 0, 
      value = 0x0, 
      flags = 0 '\0'
    }, {
      type = CPP_EQ, 
      id_kind = C_ID_ID, 
      keyword = RID_STATIC, 
      pragma_kind = PRAGMA_NONE, 
      location = 0, 
      value = 0x0, 
      flags = 0 '\0'
    }, {
      type = CPP_EQ, 
      id_kind = C_ID_ID, 
      keyword = RID_STATIC, 
      pragma_kind = PRAGMA_NONE, 
      location = 0, 
      value = 0x0, 
      flags = 0 '\0'
    }}, 
  tokens_avail = 1, 
  error = 0, 
  in_pragma = 0, 
  in_if_block = 0, 
  lex_untranslated_string = 0, 
  objc_pq_context = 0, 
  objc_could_be_foreach_context = 0, 
  objc_need_raw_identifier = 0, 
  in_transaction = 0, 
  objc_property_attr_context = 0, 
  cilk_simd_fn_tokens = 0x0
}
#13 0x0011349f in c_common_parse_file () at ../../gcc/c-family/c-opts.c:1104
        i = 0
#14 0x01468198 in compile_file () at ../../gcc/toplev.c:468
No locals.
#15 0x01469d18 in do_compile () at ../../gcc/toplev.c:2021
        i = 1
#16 0x01469fcf in toplev::main (this=0xbfff741e, argc=257, argv=0xbfff7450) at
../../gcc/toplev.c:2155
        _ZZN6toplev4mainEiPPcE12__FUNCTION__ = "main"
#17 0x018a42ab in main (argc=257, argv=0xbfff7450) at ../../gcc/main.c:39
        toplev = {
  m_use_TV_TOTAL = true, 
  m_init_signals = true
}
(gdb) quit

Reply via email to