[Bug rtl-optimization/29128] [4.2 Regression] ICE: in move_block_after_check, at haifa-sched.c:4337

steven at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Sep 23 15:14:00 GMT 2006



------- Comment #4 from steven at gcc dot gnu dot org  2006-09-23 15:14 -------
This is where we ICE:

Breakpoint 1, fancy_abort (file=0xbfb788 "../../trunk/gcc/haifa-sched.c",
line=4337,
    function=0xbfc0a0 "move_block_after_check") at
../../trunk/gcc/diagnostic.c:642
642       internal_error ("in %s, at %s:%d", function, trim_filename (file),
line);
(gdb) up
#1  0x0000000000a721d5 in move_block_after_check (jump=0x2aaaaaf8f180)
    at ../../trunk/gcc/haifa-sched.c:4336
4336      gcc_assert (RECOVERY_BLOCK (jump)
(gdb) l
4331      jump_bb = BLOCK_FOR_INSN (jump);
4332      jump_bb_next = jump_bb->next_bb;
4333
4334      update_bb_for_insn (jump_bb);
4335
4336      gcc_assert (RECOVERY_BLOCK (jump)
4337                  || RECOVERY_BLOCK (BB_END (jump_bb_next)));
4338
4339      unlink_block (jump_bb_next);
4340      link_block (jump_bb_next, bb);
(gdb) p debug_rtx(jump)
(jump_insn 93 121 122 7 (set (pc)
        (reg:DI 326 b6)) 330 {indirect_jump} (nil)
    (expr_list:REG_DEAD (reg:DI 326 b6)
        (nil)))
$7 = void
(gdb) p h_i_d[93].recovery_block
$8 = (basic_block) 0x0
(gdb) p debug_bb(jump_bb_next)
;; basic block 8, loop depth 0, count 0
;; prev block 7, next block 1
;; pred:
;; succ:
;; Registers live at start:  (nil)
(note 122 93 94 8 [bb 8] NOTE_INSN_BASIC_BLOCK)
(note 94 122 96 7 [bb 7] NOTE_INSN_BASIC_BLOCK)
;; Registers live at end:  (nil)
$9 = void
(gdb) 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29128



More information about the Gcc-bugs mailing list