]> git.ipfire.org Git - thirdparty/gcc.git/commit
combine.c (force_to_mode): Avoid undefined behaviour due to negative shift amount.
authorUlrich Weigand <ulrich.weigand@linaro.org>
Sat, 7 Jul 2012 12:19:50 +0000 (12:19 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Sat, 7 Jul 2012 12:19:50 +0000 (12:19 +0000)
commitf99391fe45e4e83291764234d491d31eb8bc3bf3
treea76cf9cd464e775a8a81e55e7aefb1eb28db63a7
parent755e0546bc8e50efe181e594ec51062aa2267035
combine.c (force_to_mode): Avoid undefined behaviour due to negative shift amount.

* combine.c (force_to_mode) [LSHIFTRT]: Avoid undefined behaviour
due to negative shift amount.

From-SVN: r189347
gcc/ChangeLog
gcc/combine.c