https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90905
--- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> --- This still isn't diagnosed by GCC 12 even with its -Wuse-after-free and -Wdangling-pointer.
msebor at gcc dot gnu.org via Gcc-bugs Sat, 15 Jan 2022 16:09:16 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90905
--- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> --- This still isn't diagnosed by GCC 12 even with its -Wuse-after-free and -Wdangling-pointer.