[SH] Fix for PR 53886

Oleg Endo oleg.endo@t-online.de
Mon Jul 9 22:00:00 GMT 2012


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 case.
> 
> Tested on rev 189361 with
> make -k check RUNTESTFLAGS="--target_board=sh-sim
> \{-m2/-ml,-m2/-mb,-m2a/-mb,-m2a-single/-mb,-m4/-ml,-m4/-mb,
> -m4-single/-ml,-m4-single/-mb,-m4a-single/-ml,-m4a-single/-mb}"
> 
> and no new failures.
> 
> Cheers,
> Oleg
> 
> ChangeLog:
> 
> 	PR target/53886
> 	* config/sh/sh.c (sequence_insn_p): New function.
> 	(find_barrier, sh_insn_length_adjustment): Use it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sh_pr53886.patch
Type: text/x-patch
Size: 1912 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120709/c07e8608/attachment.bin>


More information about the Gcc-patches mailing list