[PATCH v3, c]: Fix PR c/39779, ICE shifting byte to the right with constant > 7FFFFFFF

Joseph S. Myers joseph@codesourcery.com
Tue Sep 22 19:26:00 GMT 2009


On Tue, 22 Sep 2009, Uros Bizjak wrote:

> 2009-09-22  Uros Bizjak <ubizjak@gmail.com>
> 
>     PR c/39779
>     * c-typeck.c (build_binary_op) <short_shift>: Check that integer
>      constant is more than zero.
> 
> Patch was re-tested on x86_64-linux-gnu. OK for mainline and branches?

OK (with the same testcase added as in the previous patch version).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list