Avoid potential slient wrong-code with reg+reg addr. modes on SH.
authorOleg Endo <olegendo@gcc.gnu.org>
Sat, 4 Jun 2016 06:08:33 +0000 (06:08 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Sat, 4 Jun 2016 06:08:33 +0000 (06:08 +0000)
commitc389d3496ad217dbce58cc90c7cc7c7d31b40d81
tree74a8b350552d28cacb1da3da852e03ab9a1d07f1
parent4624e9cd754a68b8dbd7fe7d75ef4882626649c6
Avoid potential slient wrong-code with reg+reg addr. modes on SH.

gcc/
* config/sh/sh.c (sh_print_operand_address): Don't use hardcoded 'r0'
for reg+reg addressing mode.

From-SVN: r237088
gcc/ChangeLog
gcc/config/sh/sh.c