Re: [PATCH] c-family: Avoid ICEs on calls to internal functions [PR95963]

2020-06-30 Thread Richard Biener
On Tue, 30 Jun 2020, Jakub Jelinek wrote: > Hi! > > The following testcase ICEs since recent Martin's -Wnonnull changes, > we see a CALL_EXPR and ICE because CALL_EXPR_FN is NULL, which is > valid for internal function calls. Internal function calls don't have a > function type, and will never h

[PATCH] c-family: Avoid ICEs on calls to internal functions [PR95963]

2020-06-30 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase ICEs since recent Martin's -Wnonnull changes, we see a CALL_EXPR and ICE because CALL_EXPR_FN is NULL, which is valid for internal function calls. Internal function calls don't have a function type, and will never have format_arg attribute on them nor will serve as the