Re: [PATCH] ipa/97346 - fix leak of reference_vars_to_consider

2021-02-14 Thread Jan Hubicka
> This cleans up allocation/deallocation of reference_vars_to_consider, > specifically always releasing the vector allocated in ipa_init and > also making sure to release it before re-allocating it in > ipa_reference_write_optimization_summary. > > Bootstrapped and tested on x86_64-unknown-linux-g

[PATCH] ipa/97346 - fix leak of reference_vars_to_consider

2021-02-10 Thread Richard Biener
This cleans up allocation/deallocation of reference_vars_to_consider, specifically always releasing the vector allocated in ipa_init and also making sure to release it before re-allocating it in ipa_reference_write_optimization_summary. Bootstrapped and tested on x86_64-unknown-linux-gnu, OK? Tha