Joseph Myers
ff88ee7edf
Fix LONG_WIDTH, ULONG_WIDTH include ordering issue.
...
As described in
<https://sourceware.org/ml/libc-alpha/2016-10/msg00047.html >, there is
an include ordering issue with the integer width macros in glibc's
<limits.h>, where definitions conditional on LONG_MAX do not work as
intended because when the headers are installed, this part of glibc's
<limits.h> is processed before the part of GCC's <limits.h> that will
define LONG_MAX. This patch changes the definitions just to use
__WORDSIZE for the expansion of LONG_WIDTH and ULONG_WIDTH rather than
making those definitions conditional on LONG_MAX.
Tested for x86_64 and x86.
* include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
Define to __WORDSIZE, not conditional on [LONG_MAX ==
0x7fffffffL].
[__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2016-10-04 16:17:59 +00:00
..
2016-09-23 08:43:56 -04:00
2016-09-23 08:43:56 -04:00
2016-01-04 16:05:18 +00:00
2014-12-16 18:18:49 +00:00
2016-09-23 08:43:56 -04:00
2016-01-04 16:05:18 +00:00
2016-09-23 08:43:56 -04:00
2016-09-23 08:43:56 -04:00
2016-09-23 08:43:56 -04:00
2012-02-25 23:18:39 -05:00
2016-09-23 08:43:56 -04:00
2016-09-23 08:43:56 -04:00
2016-09-23 08:43:56 -04:00
2014-11-24 15:03:45 +05:30
2016-08-09 12:13:11 +02:00
2016-01-04 16:05:18 +00:00
2013-09-04 20:47:21 +00:00
2014-12-11 21:41:30 +00:00
2015-09-03 20:33:46 +00:00
2015-10-15 14:15:41 -07:00
2015-10-15 14:13:50 -07:00
2016-09-23 08:43:56 -04:00
2016-09-23 08:43:56 -04:00
2016-09-23 08:43:56 -04:00
2014-11-24 15:03:45 +05:30
2016-09-23 08:43:56 -04:00
2016-03-20 19:51:42 +01:00
2016-08-03 22:21:37 +00:00
2015-09-15 20:36:50 +00:00
2014-12-11 21:41:30 +00:00
2012-02-25 23:18:39 -05:00
2016-09-23 08:43:56 -04:00
2016-09-23 08:43:56 -04:00
2012-02-25 23:18:39 -05:00
2016-01-04 16:05:18 +00:00
2016-04-29 22:18:21 -04:00
2012-02-25 23:18:39 -05:00
2016-09-23 08:43:56 -04:00
2016-09-23 08:43:56 -04:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2012-02-26 21:32:56 -05:00
2015-10-29 12:46:22 +00:00
2016-08-26 23:20:41 +02:00
2016-09-23 08:43:56 -04:00
2015-09-04 16:21:14 +00:00
2016-10-04 16:17:59 +00:00
2016-09-23 08:43:56 -04:00
2016-01-04 16:05:18 +00:00
2012-02-25 23:18:39 -05:00
2016-09-23 08:43:56 -04:00
2015-11-20 22:49:59 +00:00
2016-09-23 08:43:56 -04:00
2016-09-23 08:43:56 -04:00
2012-02-26 21:32:56 -05:00
2015-06-17 20:19:04 +00:00
2015-06-12 10:10:18 +00:00
2016-09-23 08:43:56 -04:00
2016-09-23 08:43:56 -04:00
2016-09-23 08:43:56 -04:00
2015-06-17 20:16:56 +00:00
2016-09-23 08:43:56 -04:00
2015-10-02 11:34:13 +02:00
2012-02-25 23:18:39 -05:00
2016-09-23 08:43:56 -04:00
2016-01-04 16:05:18 +00:00
2016-03-07 11:53:47 +07:00
2016-01-04 16:05:18 +00:00
2015-06-17 20:11:58 +00:00
2016-01-04 16:05:18 +00:00
2015-10-15 14:22:25 -07:00
2016-09-23 08:43:56 -04:00
2016-08-02 17:18:08 +02:00
2015-10-15 14:23:31 -07:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-06-20 11:11:29 +02:00
2016-09-23 08:43:56 -04:00
2015-07-09 15:32:32 -07:00
2015-11-24 22:24:52 +00:00
2016-02-18 14:55:29 -02:00
2012-02-25 23:18:39 -05:00
2012-02-25 23:18:39 -05:00
2016-09-23 08:43:56 -04:00
2016-09-23 08:43:56 -04:00
2012-02-25 23:18:39 -05:00
2012-02-25 23:18:39 -05:00
2016-03-07 11:53:47 +07:00
2012-02-25 23:18:39 -05:00
2016-09-23 08:43:56 -04:00
2016-01-04 16:05:18 +00:00
2016-06-04 09:19:09 +02:00
2015-06-05 20:04:47 +00:00
2012-02-25 23:18:39 -05:00