[Bug c/71746] Scope Variable Address (Stack) Mismatch

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 4 01:14:00 GMT 2016


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
svar leaves the scope so the address of it becomes invalid.  Any access to that
address is undefined.


More information about the Gcc-bugs mailing list