[Bug target/78426] [7 Regression] wrong code with strncmp on SH
kkojima at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Nov 19 14:03:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78426
--- Comment #1 from Kazumoto Kojima <kkojima at gcc dot gnu.org> ---
Author: kkojima
Date: Sat Nov 19 13:59:47 2016
New Revision: 242622
URL: https://gcc.gnu.org/viewcvs?rev=242622&root=gcc&view=rev
Log:
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:
trunk/gcc/ChangeLog
trunk/gcc/config/sh/sh-mem.cc
More information about the Gcc-bugs
mailing list