https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67657
--- Comment #12 from Oleg Endo <olegendo at gcc dot gnu.org> --- Author: olegendo Date: Mon Sep 21 12:57:31 2015 New Revision: 227969 URL: https://gcc.gnu.org/viewcvs?rev=227969&root=gcc&view=rev Log: gcc/ 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: trunk/gcc/ChangeLog trunk/gcc/config/sh/sh-protos.h trunk/gcc/config/sh/sh.c trunk/gcc/config/sh/sh.md