[PATCH] Fix undefined behaviour in SH port
commite3ed8bb71018bc92b495c1ee3f897d1a3b7ff886
authorJeff Law <law@redhat.com>
Tue, 29 Sep 2015 16:41:38 +0000 (29 10:41 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 29 Sep 2015 16:41:38 +0000 (29 10:41 -0600)
tree98ea7434efef260a16c107e6f9d08f7928042fb8
parentda68b8f4d2869b6944e55dcc3c26ae1f322021c0
[PATCH] Fix undefined behaviour in SH port

* config/sh/sh.c (gen_shl_and): Fix undefined left shift
behaviour.
(gen_shl_sext): Likewise.
* config/sh/sh.md (divsi3): Likewise.
(imm->ext_dest_operand splitter): Likewise.

From-SVN: r228257
gcc/ChangeLog
gcc/config/sh/sh.c
gcc/config/sh/sh.md