This is the mail archive of the gcc-patches@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]

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:

> 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


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