On 11/25/13 13:52, Uros Bizjak wrote:
Hello!

Attached patch removes "left shift count >= width of type" warnings in
soft-fp code. The patch implements the same approach - checking of
rsize against _FP_W_TYPE_SIZE - as is implemented in corresponding
FP_FRAC_DISASSEMBLE_{2,4} macros a couple of lines below.

This patch removes all remaining soft-fp warnings from the build.

2013-11-25  Uros Bizjak  <ubiz...@gmail.com>

     * soft-fp/op-2.h (_FP_FRAC_ASSEMBLE_2): Check rsize against
     _FP_W_TYPE_SIZE to avoid "left shift count >= width of type" warning.
     * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Ditto.

Bootstrapped and regression tested on x86_64-pc-linux-gnu {,-m32}.
OK.  Thanks,

Jeff

Reply via email to