https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67657
--- Comment #13 from Oleg Endo <olegendo at gcc dot gnu.org> --- Author: olegendo Date: Mon Sep 21 13:14:45 2015 New Revision: 227970 URL: https://gcc.gnu.org/viewcvs?rev=227970&root=gcc&view=rev Log: gcc/ Backport from mainline 2015-09-21 Oleg Endo <olege...@gcc.gnu.org> PR target/67657 * config/sh/sh.c (sh_remove_overlapping_post_inc, sh_peephole_emit_move_insn): Add new functions. * config/sh/sh-protos.h (sh_remove_overlapping_post_inc, sh_peephole_emit_move_insn): Declere them. * config/sh/sh.md: Use them in various peephole2 patterns. Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/sh/sh-protos.h branches/gcc-5-branch/gcc/config/sh/sh.c branches/gcc-5-branch/gcc/config/sh/sh.md