[PATCH] Get rid of array-bounds warning in __kernel_rem_pio2[f] with gcc 6.1 -O3.
Mike Frysinger
vapier@gentoo.org
Mon Aug 1 14:12:00 GMT 2016
On 25 Jul 2016 17:55, Stefan Liebler wrote:
> + /* On s390x gcc 6.1 -O3 produces the warning "array subscript is below
> + array bounds [-Werror=array-bounds]". Only __ieee754_rem_pio2l()
> + calls __kernel_rem_pio2f() for normal numbers and |x| > 3pi/4. Thus
> + x can't be zero and ipio2 is not zero, too. Thus not all iq[]
> + values can't be zero. */
GNU style puts two spaces after the period
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160801/11fb5d52/attachment.sig>
More information about the Libc-alpha
mailing list