This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Fix PR29201 - [4.2 Regression] ICE in create_recovery_block, at haifa-sched.c:3692 at -O3
Maxim Kuvyrkov <mkuvyrkov@ispras.ru> writes:
> Here are two patches which do the same thing in a slightly different
> way. Pick your choice and, please, comment.
I like your second version better.
I think it would be better still if you pulled
> + barrier = next_nonnote_insn (BB_END (before_recovery));
> + if (LABEL_P (barrier) && JUMP_TABLE_DATA_P (NEXT_INSN (barrier)))
> + barrier = NEXT_INSN (NEXT_INSN (barrier));
into a small function in cfgrtl.c.
Ian