On 2023-02-17 06:22, Alejandro Colomar wrote:
Hi Siddhesh,

On 2/17/23 04:48, Siddhesh Poyarekar wrote:
On 2023-02-16 10:15, David Malcolm via Gcc wrote:
I'm not convinced that it's useful to the end-user to warn about the
"use of q itself" case.

FWIW, -Wuse-after-free=3 already should do this:

Thanks!  It works.  I would have expected such a warning to be included
in -Wextra.  Does it have any false positives (or maybe too many false
negatives?) that make it unsuitable for -Wextra?

I don't know why it isn't enabled in -Wextra, it seems like the right thing to do.

Sid

Reply via email to