On Thu, Jan 27, 2022 at 7:58 PM Martin Sebor via Gcc-patches <gcc-patches@gcc.gnu.org> 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 disregard the rest. > > Tested on x86_64-linux and by compiling a few toolchain projects, > including Glibc and Binutils/GDB, to verify the absence of false > positives.
OK. > Martin