gcc/ChangeLog:
PR jit/63854
* tree-ssa-math-opts.c (execute_cse_sincos_1): Fix a missing
release of stmts by converting it to an auto_vec.
From-SVN: r218230
+2014-12-01 David Malcolm <dmalcolm@redhat.com>
+
+ PR jit/63854
+ * tree-ssa-math-opts.c (execute_cse_sincos_1): Fix a missing
+ release of stmts by converting it to an auto_vec.
+
2014-12-01 Richard Biener <rguenther@suse.de>
* Makefile.in (gimple-match.o-warn): Use -Wno-unused instead of
tree fndecl, res, type;
gimple def_stmt, use_stmt, stmt;
int seen_cos = 0, seen_sin = 0, seen_cexpi = 0;
- vec<gimple> stmts = vNULL;
+ auto_vec<gimple> stmts;
basic_block top_bb = NULL;
int i;
bool cfg_changed = false;
}
if (seen_cos + seen_sin + seen_cexpi <= 1)
- {
- stmts.release ();
- return false;
- }
+ return false;
/* Simply insert cexpi at the beginning of top_bb but not earlier than
the name def statement. */
cfg_changed = true;
}
- stmts.release ();
-
return cfg_changed;
}