Re: [PATCH] handle erroneous types in attribute nonnull (PR 100783)

2021-05-27 Thread Jeff Law via Gcc-patches
On 5/27/2021 10:00 AM, Martin Sebor via Gcc-patches wrote: When attribute nonnull is applied to an argument of an erroneous type the attribute positional argument validation function ICEs while printing a warning that mentions the invalid type. The attached patch changes the validation functi

[PATCH] handle erroneous types in attribute nonnull (PR 100783)

2021-05-27 Thread Martin Sebor via Gcc-patches
When attribute nonnull is applied to an argument of an erroneous type the attribute positional argument validation function ICEs while printing a warning that mentions the invalid type. The attached patch changes the validation function to ignore erroneous types on the assumption that they must h