Re: [PATCH] avoid invalid sprintf argument checking and folding (PR 100732)

2021-05-27 Thread Jeff Law via Gcc-patches
On 5/26/2021 5:18 PM, Martin Sebor via Gcc-patches wrote: While checking objects whose addresses are passed to functions declared to take const pointers and making sure they're initialized the GCC 11 -Wmaybe-uninitialized enhancement assumes that the actual argument is a pointer. That's norma

[PATCH] avoid invalid sprintf argument checking and folding (PR 100732)

2021-05-26 Thread Martin Sebor via Gcc-patches
While checking objects whose addresses are passed to functions declared to take const pointers and making sure they're initialized the GCC 11 -Wmaybe-uninitialized enhancement assumes that the actual argument is a pointer. That's normally a safe assumption because for nonpointer arguments the fro