Re: [PATCH] waccess: Fix two -Wnonnull warning issues [PR108986]

2023-03-03 Thread Richard Biener via Gcc-patches
On Fri, 3 Mar 2023, Jakub Jelinek wrote: > Hi! > > The following patch fixes 2 issues with the -Wnonnull warning. > > One, fixed by the second hunk, is that the warning wording is bogus > since r11-3305, instead of printing > warning: argument 1 to ‘int[static 7]’ is null where non-null expected

[PATCH] waccess: Fix two -Wnonnull warning issues [PR108986]

2023-03-03 Thread Jakub Jelinek via Gcc-patches
Hi! The following patch fixes 2 issues with the -Wnonnull warning. One, fixed by the second hunk, is that the warning wording is bogus since r11-3305, instead of printing warning: argument 1 to ‘int[static 7]’ is null where non-null expected [-Wnonnull] it prints warning: argument 1 to ‘int[stat