Re: [PATCH] builtins: Fix ICE with unprototyped builtin call [PR100576]

2021-05-19 Thread Richard Biener
On Wed, 19 May 2021, Jakub Jelinek wrote: > Hi! > > For unprototyped builtins the checking we perform is only about whether > the used argument is integral, pointer etc., not the exact precision. > We emit a warning about the problem though: > pr100576.c: In function ‘foo’: > pr100576.c:9:11: war

[PATCH] builtins: Fix ICE with unprototyped builtin call [PR100576]

2021-05-19 Thread Jakub Jelinek via Gcc-patches
Hi! For unprototyped builtins the checking we perform is only about whether the used argument is integral, pointer etc., not the exact precision. We emit a warning about the problem though: pr100576.c: In function ‘foo’: pr100576.c:9:11: warning: implicit declaration of function ‘memcmp’ [-Wimpli