Re: [PATCH] evrp: fix AddressSanitizer: alloc-dealloc-mismatch

2021-06-14 Thread Aldy Hernandez via Gcc-patches
Ughhh. I just fixed one exactly like this in ssa_equiv_stack. I used an auto_vec instead of new/delete, which unbeknownst to me uses slightly different nomenclature for arrays. Either way works fine. Thanks for fixing this. Aldy On Mon, Jun 14, 2021 at 10:24 AM Martin Liška wrote: > > Pushed

[PATCH] evrp: fix AddressSanitizer: alloc-dealloc-mismatch

2021-06-14 Thread Martin Liška
Pushed as obvious. Martin The fixed error is: ==21166==ERROR: AddressSanitizer: alloc-dealloc-mismatch (operator new [] vs operator delete) on 0x6030d900 #0 0x7367d7 in operator delete(void*, unsigned long) /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-asan/build/libsanitizer/as