Re: [PATCH] lra: set insn_code_data to NULL when freeing

2020-03-30 Thread Vladimir Makarov via Gcc-patches
On 2020-03-30 12:06 p.m., David Malcolm wrote: It's a double-free bug in lra.c, albeit one that requires being used in a multithreaded way from libgccjit to be triggered. libgccjit's test-threads.c repeatedly compiles and runs numerous tests, each in a separate thread. Attempting to add an em

[PATCH] lra: set insn_code_data to NULL when freeing

2020-03-30 Thread David Malcolm via Gcc-patches
On Sun, 2020-03-29 at 21:31 +0100, Andrea Corallo wrote: > David Malcolm writes: > > > On Wed, 2020-03-18 at 23:51 +0100, Andrea Corallo wrote: > > Please add the new test to the header in its alphabetical location, > > i.e. between: > > > > /* test-vector-types.cc: We don't use this, since it