[Bug middle-end/106578] spurious -Wuse-after-free=2 after conditional free() when not optimizing

gcc.gnu.org at aydos dot de gcc-bugzilla@gcc.gnu.org
Wed Aug 10 16:04:09 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106578

--- Comment #3 from Gökçe Aydos <gcc.gnu.org at aydos dot de> ---
> using 'tmp' instead makes it properly fire.

Dear Richard, maybe I misunderstood what you meant with *fire*. If `tmp` is
used then gcc does not *fire* any warning and works correctly, right?


More information about the Gcc-bugs mailing list