On Thu, Jan 27, 2022 at 7:58 PM Martin Sebor via Gcc-patches
wrote:
>
> The indiscriminate PHI handling by -Wuse-after-free has caused
> the false positive reported in PR 104232. The attached patch
> refines the handling to only consider PHIs all of whose operands
> refer to the same object and d
The indiscriminate PHI handling by -Wuse-after-free has caused
the false positive reported in PR 104232. The attached patch
refines the handling to only consider PHIs all of whose operands
refer to the same object and disregard the rest.
Tested on x86_64-linux and by compiling a few toolchain pr