ToT build error with ToT GCC on Aarch64
Florian Weimer
fweimer@redhat.com
Tue Jul 24 13:57:00 GMT 2018
On 07/23/2018 08:51 PM, Martin Sebor wrote:
> Here's a bit more context showing the variable being referenced
> (for simplicity, GCC takes singleton objects as arrays of one
> element):
>
> In file included from fnmatch.c:244:
> In function âfindidxwcâ,
> Â Â Â inlined from âinternal_fnwmatchâ at fnmatch_loop.c:404:10:
> ../locale/weightwc.h:124:28: error: array subscript 1 is outside array
> bounds of âwint_t[1]â {aka âunsigned int[1]â} [-Werror=array-bounds]
> Â Â Â if (cp[nhere - 1] > usrc[nhere -1])
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ~~~~^~~~~~~~~~
> In file included from fnmatch.c:315:
> fnmatch_loop.c: In function âinternal_fnwmatchâ:
> fnmatch_loop.c:342:13: note: while referencing âstrâ
> Â Â Â Â Â Â UCHAR str;
> Â Â Â Â Â Â Â Â Â Â Â Â ^~~
I think that's more useful. Even the %K change helps a little bit IMHO.
Thanks,
Florian
More information about the Libc-alpha
mailing list