[Bug middle-end/63272] GCC should warn when using pointer to dead scoped variable within the same function

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jan 16 00:04:12 GMT 2022


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> ---
Implemented in GCC 12 as -Wdangling-pointer.


More information about the Gcc-bugs mailing list