Stefan Liebler
b65f0b7b2e
Get rid of array-bounds warning in __kernel_rem_pio2[f] with gcc 6.1 -O3.
...
On s390x I get the following werror when build with gcc 6.1 (or current gcc head) and -O3:
../sysdeps/ieee754/dbl-64/k_rem_pio2.c: In function ‘__kernel_rem_pio2’:
../sysdeps/ieee754/dbl-64/k_rem_pio2.c:254:18: error: array subscript is below array bounds [-Werror=array-bounds]
for (k = 1; iq[jk - k] == 0; k++)
~~^~~~~~~~
I get the same error with sysdeps/ieee754/flt-32/k_rem_pio2f.c.
This patch adds DIAG_* macros around it.
ChangeLog:
* sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
* sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
Likewise.
2016-08-18 12:20:35 +02:00
..
2012-05-25 11:07:07 +00:00
2012-03-09 16:09:10 -08:00
2015-09-23 22:42:30 +00:00
2012-03-09 16:09:10 -08:00
2016-01-04 16:05:18 +00:00
2015-09-18 20:00:48 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2012-03-09 16:09:10 -08:00
2016-01-04 16:05:18 +00:00
2015-09-15 17:24:23 +00:00
2012-04-18 00:40:13 +02:00
2015-02-26 21:49:19 +00:00
2015-10-23 21:37:33 +00:00
2015-10-23 21:37:33 +00:00
2015-10-27 23:42:20 +00:00
2015-10-05 17:46:50 +00:00
2015-10-05 17:46:50 +00:00
2014-04-02 17:41:02 +00:00
2015-09-26 00:27:06 +00:00
2013-06-06 20:36:07 +02:00
2012-03-09 16:09:10 -08:00
2015-09-23 22:42:30 +00:00
2012-03-09 16:09:10 -08:00
2013-06-05 20:44:03 +00:00
2016-08-18 12:20:35 +02:00
2015-09-23 22:42:30 +00:00
2015-09-23 22:42:30 +00:00
2016-01-04 16:05:18 +00:00
2015-09-10 22:27:58 +00:00
2016-01-04 16:05:18 +00:00
2015-09-23 22:42:30 +00:00
2015-09-23 22:42:30 +00:00
2016-01-04 16:05:18 +00:00
2016-05-24 17:42:10 +00:00
2013-06-05 20:44:03 +00:00
2015-09-18 20:42:54 +01:00
2015-10-05 17:46:50 +00:00
2015-09-23 22:42:30 +00:00
2015-05-28 11:42:55 +01:00
2015-09-17 16:47:14 +00:00
2016-05-24 17:44:46 +00:00
2016-01-04 16:05:18 +00:00
2016-06-13 17:27:19 +00:00
2012-03-09 16:09:10 -08:00
2012-03-09 16:09:10 -08:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2015-09-23 22:42:30 +00:00
2015-10-05 17:46:50 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2012-03-09 16:09:10 -08:00
2013-05-19 18:40:25 +00:00
2015-11-02 18:54:19 +00:00
2016-06-16 21:37:45 +05:30
2016-01-04 16:05:18 +00:00
2012-03-09 16:09:10 -08:00
2016-05-24 17:46:55 +00:00
2014-06-20 07:48:20 +05:30
2015-09-16 21:11:00 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2012-09-03 15:32:13 +02:00
2012-03-09 16:09:10 -08:00
2015-09-23 22:42:30 +00:00
2016-08-03 13:35:22 +02:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00