Re: [PATCH] C++ modules: fix alloc-dealloc-mismatch ASAN issue

2021-03-22 Thread Nathan Sidwell
On 3/20/21 4:40 PM, Martin Liška wrote: Hi. The patch fixes the alloc-dealloc-mismatch reported by ASAN. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin gcc/cp/ChangeLog: PR c++/99687 * module.cc (fini_modules): Call vec_

[PATCH] C++ modules: fix alloc-dealloc-mismatch ASAN issue

2021-03-20 Thread Martin Liška
Hi. The patch fixes the alloc-dealloc-mismatch reported by ASAN. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin gcc/cp/ChangeLog: PR c++/99687 * module.cc (fini_modules): Call vec_free instead of delete. --- gcc/cp