Fwd: [PATCH, libgcc]: Avoid "left shift count >= width of type" warnings in soft-fp code
Joseph S. Myers
joseph@codesourcery.com
Tue Nov 26 18:11:00 GMT 2013
I don't see why the op-2.h change should be needed - the code with the
problem shift is already inside the "else" part of a ((rsize <=
_FP_W_TYPE_SIZE) ? : ...) conditional, and the reason ?: is used here
instead of if/else is exactly to avoid such warnings; putting in a second
nested such conditional with the same condition shouldn't make any
difference.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list