This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] bring -Warray-bounds closer to -Wstringop-overflow (PR91647, 91463, 91679)
On 9/6/19 5:26 PM, Martin Sebor wrote:
> Just a heads up that I tested the patch with Glibc and the kernel.
> It exposes some of the same "abuses" of (near) zero-length arrays
> as the most recent improvement in this area. In glibc, it
> complains about code in fileops.c, iofwide.c, libc-tls.c, and
> rtld.c. The ones I looked at all look like the last one we saw.
> I'll look into how to deal with them next. In the kernel it
> issues a variety of warnings that I need to investigate after
> I get back from Cauldron.
THanks. Good to know.