[Bug tree-optimization/123420] a -Wfree-nonheap-object warning that is not provable as being undefined never

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 7 08:30:14 GMT 2026


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-01-07
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |false-positive,
                   |                            |missed-optimization
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
IPA reference likely doesn't see that miBorkenData does effectively not escape
(it's address escapes to 'free')


More information about the Gcc-bugs mailing list