Re: [PATCH] Plug memory leak in attribute target_clones

2022-11-05 Thread Richard Biener via Gcc-patches
On Thu, Nov 3, 2022 at 10:01 PM Bernhard Reutner-Fischer via Gcc-patches wrote: > > It looks like there was some memory leak in the handling > of attribute target_clones, introduced in 5928bc2ec06d . > > Ok for trunk if testing passes? OK > gcc/ChangeLog: > > * multiple_target.cc (expand

[PATCH] Plug memory leak in attribute target_clones

2022-11-03 Thread Bernhard Reutner-Fischer via Gcc-patches
It looks like there was some memory leak in the handling of attribute target_clones, introduced in 5928bc2ec06d . Ok for trunk if testing passes? gcc/ChangeLog: * multiple_target.cc (expand_target_clones): Free memory. Signed-off-by: Bernhard Reutner-Fischer --- gcc/multiple_target.cc