[PATCH] Fix undefined behaviour in arc port
authorJeff Law <law@redhat.com>
Sat, 26 Sep 2015 07:48:10 +0000 (01:48 -0600)
committerJeff Law <law@gcc.gnu.org>
Sat, 26 Sep 2015 07:48:10 +0000 (01:48 -0600)
commitc419f71c820766fc733c75a9455cf62d5c9260a9
tree6ec737c1aed89baec6db3cf988edcfce7d59fe9a
parenta0a65802bf1336dcaf72b060bc8a8decf228945a
[PATCH] Fix undefined behaviour in arc port

* config/arc/arc.c (arc_output_addsi): Fix left shift undefined
behaviour.
* config/arc/constraints.md (Cca, C2a): Fix left shift undefined
behaviour.

From-SVN: r228166
gcc/ChangeLog
gcc/config/arc/arc.c
gcc/config/arc/constraints.md