[PATCH]: Fix PR29201 - [4.2 Regression] ICE in create_recovery_block, at haifa-sched.c:3692 at -O3

Ian Lance Taylor iant@google.com
Wed Nov 8 02:27:00 GMT 2006


Maxim Kuvyrkov <mkuvyrkov@ispras.ru> writes:

> Ian Lance Taylor wrote:
> > 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.
> 
> Like this one?

This is OK, assuming it passes bootstrap and testing.  And it needs a
ChangeLog entry.

Thanks, and thanks for your patience.

Ian



More information about the Gcc-patches mailing list