[Bug c++/57111] Core dump - invalid pointer detected after std::unique_ptr

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 30 18:37:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57111

--- Comment #4 from Marc Glisse <glisse at gcc dot gnu.org> 2013-04-30 18:37:41 UTC ---
gcc has -Wfree-nonheap-object, which works for free but not for delete or
delete[]. Extending it to these functions seems like a reasonable RFE.



More information about the Gcc-bugs mailing list