[Bug c++/77433] warn about object that escapes its scope
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 31 19:44:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77433
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Summary|warn about pointer that |warn about object that
|escapes its scope |escapes its scope
Severity|normal |enhancement
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There might be already a bug report about this same thing. Basically we emit a
"clobber" for the objects when the scope ends.
More information about the Gcc-bugs
mailing list