------- Comment #2 from danglin at gcc dot gnu dot org 2006-07-25 16:53 ------- (gdb) p debug_tree (t) <label_expr 0x4000e8e0 type <void_type 0x40018900 void VOID align 8 symtab 0 alias set -1 pointer_to_this <pointer_type 0x40018960>> side-effects arg 0 <label_decl 0x40096180 L.5 type <void_type 0x40018900 void> ignored VOID file /home/dave/gnu/gcc-4.2/gcc/gcc/testsuite/gcc.dg/tree-prof/inliner-1.c line 31 align 1 alias set 5 context <function_decl 0x40089a10 hot_function>>> $6 = void (gdb) bt #0 set_bb_for_stmt (t=0x4000e8e0, bb=0x40094678) at ../../gcc/gcc/tree-cfg.c:2733 #1 0x000a8600 in tree_split_block (bb=0x400942d0, stmt=<value optimized out>) at ../../gcc/gcc/tree-cfg.c:4206 #2 0x00369658 in split_block (bb=0x400942d0, i=0x40094678) at ../../gcc/gcc/cfghooks.c:326 #3 0x002e3748 in tree_divmod_fixed_value_transform (stmt=0x40015618) at ../../gcc/gcc/value-prof.c:233 #4 0x002e3c24 in tree_value_profile_transformations () at ../../gcc/gcc/value-prof.c:143 #5 0x002e1f14 in value_profile_transformations () at ../../gcc/gcc/value-prof.c:878 #6 0x003753c0 in tree_profiling () at ../../gcc/gcc/tree-profile.c:244 #7 0x00373464 in execute_one_pass (pass=0x56b47c) at ../../gcc/gcc/passes.c:864 #8 0x00373604 in execute_pass_list (pass=0x56b47c) at ../../gcc/gcc/passes.c:911 #9 0x003736ac in execute_ipa_pass_list (pass=0x568f90) at ../../gcc/gcc/passes.c:933 #10 0x003be3bc in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1456 #11 0x000330b0 in c_write_global_declarations () at ../../gcc/gcc/c-decl.c:7856 #12 0x0033c2f0 in toplev_main (argc=<value optimized out>, argv=<value optimized out>) at ../../gcc/gcc/toplev.c:1012 #13 0x407336d8 in __libc_start_main () from /lib/libc.so.6
We fail this assert: !VEC_index (basic_block, label_to_block_map, uid) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28480