On Jun 7, 2023, at 7:54 AM, Thomas Schwinge <tho...@codesourcery.com> wrote: > > On 2020-11-03T16:56:48-0700, Martin Sebor via Gcc-patches > <gcc-patches@gcc.gnu.org> wrote: >> Attached is a simple middle end implementation of detection of >> mismatched pairs of calls to C++ new and delete, along with >> a substantially enhanced implementation of -Wfree-nonheap-object. > > This eventually became commit dce6c58db87ebf7f4477bd3126228e73e4eeee97 > "Add support for detecting mismatched allocation/deallocation calls". > Already in this original patch submission: > >> diff --git a/gcc/testsuite/g++.dg/warn/Wfree-nonheap-object.s >> b/gcc/testsuite/g++.dg/warn/Wfree-nonheap-object.s >> new file mode 100644 >> index 00000000000..e69de29bb2d > > OK to push the attached > "Remove 'gcc/testsuite/g++.dg/warn/Wfree-nonheap-object.s'"?
Ok.