This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 02 Sep 2012 12:44:18 +0000
- Subject: [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
- Auto-submitted: auto-generated
- References: <bug-54455-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54455
Uros Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
URL|http://gcc.gnu.org/ml/gcc-p |
|atches/2012-09/msg00031.htm |
|l |
AssignedTo|ubizjak at gmail dot com |unassigned at gcc dot
| |gnu.org
--- Comment #6 from Uros Bizjak <ubizjak at gmail dot com> 2012-09-02 12:44:18 UTC ---
(In reply to comment #5)
> (In reply to comment #4)
>
> > (jump_insn 30 29 31 3 (simple_return) pr54455.c:16 -1
> > (nil)
> > -> simple_return)
> >
>
> This should be BB_END(BASIC_BLOCK(3)). If it's not then someone forgot to
> update the basic block boundaries at some point.
(gdb) p debug_bb_n_slim (3)
basic block 3, loop depth 0
pred: 2
L9:
10 NOTE_INSN_BASIC_BLOCK
11: ax=0x1
12: dx=0x2
28 NOTE_INSN_EPILOGUE_BEG
29: bp=[sp++]
REG_CFA_DEF_CFA: sp+0x8
30: jump simple_return
i 31: barrier
succ: EXIT
This is now beyond my RTL-optimization fu.