http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53420
--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2012-05-19 20:43:48 UTC --- (gdb) bt #0 fancy_abort (file=0x45808b0 "../../gcc/gcc/tree.c", line=7039, function=0x45817d8 "iterative_hash_expr") at ../../gcc/gcc/diagnostic.c:1011 #1 0x01887044 in iterative_hash_expr (t=0x7ab8a390, val=1358060887) at ../../gcc/gcc/tree.c:7039 #2 0x01887584 in iterative_hash_expr (t=0x7ac3f3a0, val=1358060887) at ../../gcc/gcc/tree.c:7072 #3 0x01887584 in iterative_hash_expr (t=0x7ab83b18, val=2819648034) at ../../gcc/gcc/tree.c:7072 #4 0x01887584 in iterative_hash_expr (t=0x7ab044e0, val=470452325) at ../../gcc/gcc/tree.c:7072 #5 0x01887584 in iterative_hash_expr (t=0x7ac3f3e0, val=1291600461) at ../../gcc/gcc/tree.c:7072 #6 0x01887584 in iterative_hash_expr (t=0x7ac3f400, val=1857436122) at ../../gcc/gcc/tree.c:7072 #7 0x01887584 in iterative_hash_expr (t=0x7ab04528, val=3933020094) at ../../gcc/gcc/tree.c:7072 #8 0x01887244 in iterative_hash_expr (t=0x7ab04558, val=2773392188) at ../../gcc/gcc/tree.c:7051 #9 0x01886880 in iterative_hash_expr (t=0x7ab943a0, val=3698532063) at ../../gcc/gcc/tree.c:6997 #10 0x00e27cdc in gimple_tree_hash (p=0x7b047c68) at ../../gcc/gcc/gimplify.c:130 ---Type <return> to continue, or q <return> to quit--- #11 0x0441ce60 in htab_find_slot (htab=0x400c1a08, element=0x7b047c68, insert=INSERT) at ../../gcc/libiberty/hashtab.c:712 #12 0x00e29170 in lookup_tmp_var (val=0x7ab943a0, is_formal=1 '\001') at ../../gcc/gcc/gimplify.c:528 #13 0x00e295f0 in internal_get_tmp_var (val=0x7ab943a0, pre_p=0x7b0457f0, post_p=0x0, is_formal=1 '\001') at ../../gcc/gcc/gimplify.c:610 #14 0x00e2999c in get_formal_tmp_var (val=0x7ab943a0, pre_p=0x7b0457f0) at ../../gcc/gcc/gimplify.c:651 #15 0x00e66bc0 in gimplify_expr (expr_p=0x7ac3f654, pre_p=0x7b0457f0, post_p=0x7b046718, gimple_test_f=@0x40029eea: 0xd5bfb8 <is_gimple_min_lval>, fallback=3) at ../../gcc/gcc/gimplify.c:7954 #16 0x00e360f4 in gimplify_compound_lval (expr_p=0x7ac3f678, pre_p=0x7b0457f0, post_p=0x7b046718, fallback=1) at ../../gcc/gcc/gimplify.c:2258 #17 0x00e60588 in gimplify_expr (expr_p=0x7ac3f678, pre_p=0x7b0457f0, post_p=0x7b046718, gimple_test_f=@0x4002a852: 0xe29388 <is_gimple_reg_rhs_or_call>, fallback=1) at ../../gcc/gcc/gimplify.c:7080 #18 0x00e4c0d4 in gimplify_modify_expr (expr_p=0x7ab943b8, pre_p=0x7b0457f0, post_p=0x7b046718, want_value=0 '\0') at ../../gcc/gcc/gimplify.c:4842 #19 0x00e606f0 in gimplify_expr (expr_p=0x7ab943b8, pre_p=0x7b0457f0, post_p=0x7b046718, gimple_test_f=@0x4002a8ba: 0xe4ac80 <is_gimple_stmt>, ---Type <return> to continue, or q <return> to quit--- fallback=0) at ../../gcc/gcc/gimplify.c:7127 #20 0x00e5254c in gimplify_stmt (stmt_p=0x7ab943b8, seq_p=0x7b0457f0) at ../../gcc/gcc/gimplify.c:5662 #21 0x00e2f0a8 in gimplify_statement_list (expr_p=0x7ac3f878, pre_p=0x7b0457f0) at ../../gcc/gcc/gimplify.c:1529 #22 0x00e63fac in gimplify_expr (expr_p=0x7ac3f878, pre_p=0x7b0457f0, post_p=0x7b045e98, gimple_test_f=@0x4002a8ba: 0xe4ac80 <is_gimple_stmt>, fallback=0) at ../../gcc/gcc/gimplify.c:7514 #23 0x00e5254c in gimplify_stmt (stmt_p=0x7ac3f878, seq_p=0x7b0457f0) at ../../gcc/gcc/gimplify.c:5662 #24 0x00e2ccfc in gimplify_bind_expr (expr_p=0x7ac3f898, pre_p=0x7b044ea0) at ../../gcc/gcc/gimplify.c:1223 #25 0x00e61e6c in gimplify_expr (expr_p=0x7ac3f898, pre_p=0x7b044ea0, post_p=0x7b045558, gimple_test_f=@0x4002a8ba: 0xe4ac80 <is_gimple_stmt>, fallback=0) at ../../gcc/gcc/gimplify.c:7299 #26 0x00e5254c in gimplify_stmt (stmt_p=0x7ac3f898, seq_p=0x7b044ea0) at ../../gcc/gcc/gimplify.c:5662 #27 0x00e41a6c in gimplify_cond_expr (expr_p=0x7ab944a8, pre_p=0x7b043930, fallback=0) at ../../gcc/gcc/gimplify.c:3305 #28 0x00e605a4 in gimplify_expr (expr_p=0x7ab944a8, pre_p=0x7b043930, post_p=0x7b044858, gimple_test_f=@0x4002a8ba: 0xe4ac80 <is_gimple_stmt>, fallback=0) at ../../gcc/gcc/gimplify.c:7085 #29 0x00e5254c in gimplify_stmt (stmt_p=0x7ab944a8, seq_p=0x7b043930) ---Type <return> to continue, or q <return> to quit--- at ../../gcc/gcc/gimplify.c:5662 #30 0x00e2f0a8 in gimplify_statement_list (expr_p=0x7ac3f8b8, pre_p=0x7b043930) at ../../gcc/gcc/gimplify.c:1529 #31 0x00e63fac in gimplify_expr (expr_p=0x7ac3f8b8, pre_p=0x7b043930, post_p=0x7b043fd8, gimple_test_f=@0x4002a8ba: 0xe4ac80 <is_gimple_stmt>, fallback=0) at ../../gcc/gcc/gimplify.c:7514 #32 0x00e5254c in gimplify_stmt (stmt_p=0x7ac3f8b8, seq_p=0x7b043930) at ../../gcc/gcc/gimplify.c:5662 #33 0x00e2ccfc in gimplify_bind_expr (expr_p=0x7ab944b8, pre_p=0x7b042760) at ../../gcc/gcc/gimplify.c:1223 #34 0x00e61e6c in gimplify_expr (expr_p=0x7ab944b8, pre_p=0x7b042760, post_p=0x7b043698, gimple_test_f=@0x4002a8ba: 0xe4ac80 <is_gimple_stmt>, fallback=0) at ../../gcc/gcc/gimplify.c:7299 #35 0x00e5254c in gimplify_stmt (stmt_p=0x7ab944b8, seq_p=0x7b042760) at ../../gcc/gcc/gimplify.c:5662 #36 0x00e2f0a8 in gimplify_statement_list (expr_p=0x7abf3ad8, pre_p=0x7b042760) at ../../gcc/gcc/gimplify.c:1529 #37 0x00e63fac in gimplify_expr (expr_p=0x7abf3ad8, pre_p=0x7b042760, post_p=0x7b042e18, gimple_test_f=@0x4002a8ba: 0xe4ac80 <is_gimple_stmt>, fallback=0) at ../../gcc/gcc/gimplify.c:7514 #38 0x00e5254c in gimplify_stmt (stmt_p=0x7abf3ad8, seq_p=0x7b042760) at ../../gcc/gcc/gimplify.c:5662 #39 0x00e316a4 in gimplify_switch_expr (expr_p=0x7ab2dc58, pre_p=0x7b0415b0) ---Type <return> to continue, or q <return> to quit--- at ../../gcc/gcc/gimplify.c:1778 #40 0x00e61e9c in gimplify_expr (expr_p=0x7ab2dc58, pre_p=0x7b0415b0, post_p=0x7b0424d8, gimple_test_f=@0x4002a8ba: 0xe4ac80 <is_gimple_stmt>, fallback=0) at ../../gcc/gcc/gimplify.c:7307 #41 0x00e5254c in gimplify_stmt (stmt_p=0x7ab2dc58, seq_p=0x7b0415b0) at ../../gcc/gcc/gimplify.c:5662 #42 0x00e2f0a8 in gimplify_statement_list (expr_p=0x7ac4ed98, pre_p=0x7b0415b0) at ../../gcc/gcc/gimplify.c:1529 #43 0x00e63fac in gimplify_expr (expr_p=0x7ac4ed98, pre_p=0x7b0415b0, post_p=0x7b041c58, gimple_test_f=@0x4002a8ba: 0xe4ac80 <is_gimple_stmt>, fallback=0) at ../../gcc/gcc/gimplify.c:7514 #44 0x00e5254c in gimplify_stmt (stmt_p=0x7ac4ed98, seq_p=0x7b0415b0) at ../../gcc/gcc/gimplify.c:5662 #45 0x00e2ccfc in gimplify_bind_expr (expr_p=0x7aead8dc, pre_p=0x7b040c54) at ../../gcc/gcc/gimplify.c:1223 #46 0x00e61e6c in gimplify_expr (expr_p=0x7aead8dc, pre_p=0x7b040c54, post_p=0x7b041318, gimple_test_f=@0x4002a8ba: 0xe4ac80 <is_gimple_stmt>, fallback=0) at ../../gcc/gcc/gimplify.c:7299 #47 0x00e5254c in gimplify_stmt (stmt_p=0x7aead8dc, seq_p=0x7b040c54) at ../../gcc/gcc/gimplify.c:5662 #48 0x00e686f4 in gimplify_body (fndecl=0x7aead880, do_parms=1 '\001') at ../../gcc/gcc/gimplify.c:8160 #49 0x00e6a624 in gimplify_function_tree ( fndecl=0x7aead880) ---Type <return> to continue, or q <return> to quit--- at ../../gcc/gcc/gimplify.c:8294 #50 0x007aecac in cgraph_analyze_function (node=0x7aeb0b00) at ../../gcc/gcc/cgraphunit.c:650 #51 0x007b0600 in cgraph_analyze_functions () at ../../gcc/gcc/cgraphunit.c:936 #52 0x007b56a4 in finalize_compilation_unit () at ../../gcc/gcc/cgraphunit.c:2075 #53 0x000d9acc in c_write_global_declarations () at ../../gcc/gcc/c-decl.c:10114 #54 0x0132833c in compile_file () at ../../gcc/gcc/toplev.c:568 #55 0x0132b648 in do_compile () at ../../gcc/gcc/toplev.c:1874 #56 0x0132b934 in toplev_main (argc=23, argv=0x7b04068c) at ../../gcc/gcc/toplev.c:1950 #57 0x04379074 in main (argc=23, argv=0x7b04068c) at ../../gcc/gcc/main.c:36 (gdb) p tclass $1 = 0 '\0' (gdb) p debug_tree (t) <block 7ab8a390 used vars <var_decl 7ab7d420 __t type <pointer_type 7aecfd80 tree type <union_type 7ae11a80 tree_node> readonly sizes-gimplified public unsigned SI size <integer_cst 7acdd570 constant 32> unit size <integer_cst 7acdd588 constant 4> align 32 symtab 0 alias set -1 canonical type 7aecfde0 context <translation_unit_decl 7ab59620 D.22825> pointer_to_this <pointer_type 7ac86000>> readonly used unsigned SI file ../../gcc/gcc/c-family/c-lex.c line 355 col 128 size <integer_cst 7acdd570 32> unit size <integer_cst 7acdd588 4> align 32 context <function_decl 7aead880 c_lex_with_flags> initial <var_decl 7ab7ad20 num_string>> supercontext <block 7ab8a3f0 used vars <var_decl 7ab7a660 str type <pointer_type 7acf6000> used unsigned SI file ../../gcc/gcc/c-family/c-lex.c line 345 col 12 size <integer_cst 7acdd570 32> unit size <integer_cst 7acdd588 4> align 32 context <function_decl 7aead880 c_lex_with_flags> chain <var_decl 7ab7a6c0 literal>> supercontext <block 7ab8a420 used vars <var_decl 7ab76de0 suffix> supercontext <block 7ab8a7b0 used vars <var_decl 7ab769c0 no_more_pch> supercontext <function_decl 7aead880 c_lex_with_flags> subblocks <block 7ab8a420>> subblocks <block 7ab8a3f0> chain <block 7ab8a510 used vars <var_decl 7ab7d900 atloc> supercontext <block 7ab8a7b0> chain <block 7ab8a5a0 used vars <var_decl 7ab82780 name> supercontext <block 7ab8a7b0> chain <block 7ab8a600 used vars <var_decl 7ab82c00 c> supercontext <block 7ab8a7b0> chain <block 7ab8a690 used vars <var_decl 7ab86660 literal> supercontext <block 7ab8a7b0> chain <block 7ab8a6f0>>>>>> subblocks <block 7ab8a2d0 used vars <var_decl 7ab7d000 __t> supercontext <block 7ab8a3f0> subblocks <block 7ab8a2a0 used vars <var_decl 7ab7d060 __t> supercontext <block 7ab8a2d0>> chain <block 7ab8a390>>>> $3 = void