Re: [PATCH] tighten up validation of built-in redeclarations (PR 93926)

2020-02-28 Thread Jeff Law
On Thu, 2020-02-27 at 15:40 -0700, Martin Sebor wrote: > GCC considers valid explicit declarations of built-ins whose return > types match in their modes, even if the types themselves are > incompatible (say integer and pointer of the same size). This is > more permissive than for argument types

[PATCH] tighten up validation of built-in redeclarations (PR 93926)

2020-02-27 Thread Martin Sebor
GCC considers valid explicit declarations of built-ins whose return types match in their modes, even if the types themselves are incompatible (say integer and pointer of the same size). This is more permissive than for argument types where a pointer/integer mismatch disqualifies the