[Bug target/78426] [7 Regression] wrong code with strncmp on SH

kkojima at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 29 23:28:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78426

--- Comment #4 from Kazumoto Kojima <kkojima at gcc dot gnu.org> ---
Author: kkojima
Date: Tue Nov 29 23:23:30 2016
New Revision: 242982

URL: https://gcc.gnu.org/viewcvs?rev=242982&root=gcc&view=rev
Log:
        Backported from mainline
        2016-11-19  Kaz Kojima  <kkojima@gcc.gnu.org>

        PR target/78426
        * config/sh/sh-mem.cc (sh_expand_cmpnstr): Use copy_to_mode_reg
        instead of force_reg.
        (sh_expand_setmem): Likewise.


Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/sh/sh-mem.cc


More information about the Gcc-bugs mailing list