Using auto_vec ensure this memory is cleaned up on function exit.
gcc/ChangeLog:
* tree-profile.cc (find_conditions): Use auto_vec.
make_top_index (fnblocks, ctx.B1, ctx.top_index);
/* Bin the Boolean expressions so that exprs[id] -> [x1, x2, ...]. */
- hash_map<int_hash<unsigned, 0>, vec<basic_block>> exprs;
+ hash_map<int_hash<unsigned, 0>, auto_vec<basic_block, 8>> exprs;
for (basic_block b : fnblocks)
{
const unsigned uid = condition_uid (fn, b);