------- Comment #5 from sje at cup dot hp dot com 2006-03-17 21:47 ------- The debugger shows:
(gdb) p debug_rtx(*unused_listp) (deps_list 34 (nil) 0 [0x0]) (gdb) p debug_rtx(prev_link) (UnKnown Unknown) When I print unused_insn_list I get a long RTL that I couldn't capture. Here is a backtrace: #0 internal_error (gmsgid=0x40f8228 "in %s, at %s:%d") at /proj/opensrc/nightly/src/trunk/gcc/diagnostic.c:586 #1 0x49c5b10:0 in fancy_abort ( file=0x41141e0 "/proj/opensrc/nightly/src/trunk/gcc/lists.c", line=60, function=0x41141d0 "free_list") at /proj/opensrc/nightly/src/trunk/gcc/diagnostic.c:642 #2 0x4effe00:0 in free_list (listp=0x401673c4, unused_listp=0x400525f0) at /proj/opensrc/nightly/src/trunk/gcc/lists.c:57 #3 0x4f00b20:0 in free_DEPS_LIST_list (listp=0x401673c4) at /proj/opensrc/nightly/src/trunk/gcc/lists.c:207 #4 0x56bceb0:0 in schedule_insn (insn=0x6f4b76c0) at /proj/opensrc/nightly/src/trunk/gcc/haifa-sched.c:1173 #5 0x56c7bd0:0 in schedule_block (target_bb=0x7ffff0c8, rgn_n_insns1=7) at /proj/opensrc/nightly/src/trunk/gcc/haifa-sched.c:2515 #6 0x581c4d0:0 in schedule_ebb (head=0x6f4b7a80, tail=0x6f4b7ae0) at /proj/opensrc/nightly/src/trunk/gcc/sched-ebb.c:512 #7 0x581d1f0:0 in schedule_ebbs () at /proj/opensrc/nightly/src/trunk/gcc/sched-ebb.c:613 #8 0x53caa40:0 in ia64_reorg () at /proj/opensrc/nightly/src/trunk/gcc/config/ia64/ia64.c:8498 #9 0x5804e20:0 in rest_of_handle_machine_reorg () at /proj/opensrc/nightly/src/trunk/gcc/reorg.c:3816 #10 0x529e450:0 in execute_one_pass (pass=0x4003151c) at /proj/opensrc/nightly/src/trunk/gcc/passes.c:860 #11 0x529ea10:0 in execute_pass_list (pass=0x4003151c) at /proj/opensrc/nightly/src/trunk/gcc/passes.c:907 #12 0x529eab0:0 in execute_pass_list (pass=0x4003075c) at /proj/opensrc/nightly/src/trunk/gcc/passes.c:908 #13 0x529eab0:0 in execute_pass_list (pass=0x40030728) at /proj/opensrc/nightly/src/trunk/gcc/passes.c:908 #14 0x44a9960:0 in tree_rest_of_compilation (fndecl=0x6f4ae100) at /proj/opensrc/nightly/src/trunk/gcc/tree-optimize.c:418 #15 0x4216580:0 in c_expand_body (fndecl=0x6f4ae100) at /proj/opensrc/nightly/src/trunk/gcc/c-decl.c:6689 #16 0x540da00:0 in cgraph_expand_function (node=0x6f3f1480) at /proj/opensrc/nightly/src/trunk/gcc/cgraphunit.c:1102 #17 0x540e2b0:0 in cgraph_expand_all_functions () at /proj/opensrc/nightly/src/trunk/gcc/cgraphunit.c:1167 #18 0x54109f0:0 in cgraph_optimize () at /proj/opensrc/nightly/src/trunk/gcc/cgraphunit.c:1435 #19 0x4222d80:0 in c_write_global_declarations () at /proj/opensrc/nightly/src/trunk/gcc/c-decl.c:7804 #20 0x51651a0:0 in compile_file () at /proj/opensrc/nightly/src/trunk/gcc/toplev.c:1012 #21 0x516af30:0 in do_compile () at /proj/opensrc/nightly/src/trunk/gcc/toplev.c:1970 #22 0x516b0e0:0 in toplev_main (argc=3, argv=0x7ffff778) at /proj/opensrc/nightly/src/trunk/gcc/toplev.c:2002 #23 0x43f2280:0 in main (argc=3, argv=0x7ffff778) at /proj/opensrc/nightly/src/trunk/gcc/main.c:35 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26734