This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53215] Warn if orphaned memory is created by ignoring return value of new
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 19 Aug 2017 18:39:28 +0000
- Subject: [Bug c++/53215] Warn if orphaned memory is created by ignoring return value of new
- Auto-submitted: auto-generated
- References: <bug-53215-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53215
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-08-19
CC| |egallager at gcc dot gnu.org
Ever confirmed|0 |1
Severity|normal |enhancement
--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
Confirming (as an enhancement) that g++ prints no warnings for the example
code. Dunno if it really could/should though...