This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
[Forwarded from gcc-patches@... mailing list, where the patch was bootstrapped and regression tested. Please note that I have no means of properly testing the patch as required by glibc rules.] 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 <ubizjak@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 for mainline? Uros.
Attachment:
l.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |