This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77433] warn about object that escapes its scope
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 31 Aug 2016 19:44:24 +0000
- Subject: [Bug c++/77433] warn about object that escapes its scope
- Auto-submitted: auto-generated
- References: <bug-77433-4@http.gcc.gnu.org/bugzilla/>
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.