Re: [PATCH 08/21] PR jit/63854: Add ira_costs_c_finalize

2014-11-19 Thread Richard Biener
On Wed, Nov 19, 2014 at 11:46 AM, David Malcolm wrote: > this_target_ira_int->free_ira_costs () is called by ira_init_costs, > but this isn't called after the compile, causing noise when running > under valgrind. > > This patch adds a ira_costs_c_finalize function to clean this up, > and calls it

[PATCH 08/21] PR jit/63854: Add ira_costs_c_finalize

2014-11-19 Thread David Malcolm
this_target_ira_int->free_ira_costs () is called by ira_init_costs, but this isn't called after the compile, causing noise when running under valgrind. This patch adds a ira_costs_c_finalize function to clean this up, and calls it from toplev::finalize (and hence this isn't called by cc1/cc1plus/e