On Wed, 2022-07-06 at 19:55 +0530, Immad Mir wrote:
> From: Immad Mir
>
> This patch saves the "close" event in use_after_close diagnostic
> and shows it where possible.
This patch is OK to push to trunk (assuming you've done the usual
testing).
Thanks
Dave
>
> gcc/analyzer/ChangeLog:
>
From: Immad Mir
This patch saves the "close" event in use_after_close diagnostic
and shows it where possible.
gcc/analyzer/ChangeLog:
* sm-fd.cc (use_after_close): save the "close" event and
show it where possible.
gcc/testsuite/ChangeLog:
* gcc.dg/analyzer/fd-4.c (test_