This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/54455] [4.7/4.8 Regression] ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in compute_bb_for_insn, at cfgrtl.c:418


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

--- Comment #4 from Uros Bizjak <ubizjak at gmail dot com> 2012-09-02 12:10:45 UTC ---
(In reply to comment #3)

> What does the insns list look like around the BARRIER? (From GDB do:
> "p debug_rtx_list(barrier_insn, -7)" and show the result here.)

(gdb) p debug_rtx_list(r, -7)
(note 28 12 29 3 NOTE_INSN_EPILOGUE_BEG)

(insn/f 29 28 30 3 (set (reg/f:DI 6 bp)
        (mem:DI (post_inc:DI (reg/f:DI 7 sp)) [0 S8 A8])) pr54455.c:16 -1
     (expr_list:REG_CFA_DEF_CFA (plus:DI (reg/f:DI 7 sp)
            (const_int 8 [0x8]))
        (nil)))

(jump_insn 30 29 31 3 (simple_return) pr54455.c:16 -1
     (nil)
 -> simple_return)

(barrier 31 30 15)

(note 15 31 21 ("lab") NOTE_INSN_DELETED_LABEL 3)

(note 21 15 24 NOTE_INSN_DELETED)

(note 24 21 0 NOTE_INSN_DELETED)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]