Re: [SH] Fix for PR 53886

2012-07-09 Thread Kaz Kojima
Oleg Endo wrote: > This time with the right patch attached. Sorry. > > On Mon, 2012-07-09 at 21:09 +0200, Oleg Endo wrote: >> Hello, >> >> The attached patch is a fix for PR 53886, as suggested in the PR. >> I've also replaced another unchecked usage of 'PATTERN (NEXT_INSN >> (PREV_INSN (insn))

[SH] Fix for PR 53886

2012-07-09 Thread Oleg Endo
This time with the right patch attached. Sorry. On Mon, 2012-07-09 at 21:09 +0200, Oleg Endo wrote: > Hello, > > The attached patch is a fix for PR 53886, as suggested in the PR. > I've also replaced another unchecked usage of 'PATTERN (NEXT_INSN > (PREV_INSN (insn)))' in 'find_barrier', just in

[SH] Fix for PR 53886

2012-07-09 Thread Oleg Endo
Hello, The attached patch is a fix for PR 53886, as suggested in the PR. I've also replaced another unchecked usage of 'PATTERN (NEXT_INSN (PREV_INSN (insn)))' in 'find_barrier', just in case. Tested on rev 189361 with make -k check RUNTESTFLAGS="--target_board=sh-sim \{-m2/-ml,-m2/-mb,-m2a/-mb,-