* tree-ssa-reassoc.c (eliminate_duplicate_pair): Truncate
an auto_vec instead of re-creating it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236466
138bc75d-0d04-0410-961f-
82ee72b054a4
+2016-05-19 Martin Liska <mliska@suse.cz>
+
+ * tree-ssa-reassoc.c (eliminate_duplicate_pair): Truncate
+ an auto_vec instead of re-creating it.
+
2016-05-19 Martin Liska <mliska@suse.cz>
* tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Use
if (ops->length () == 2)
{
- ops->create (0);
+ ops->truncate (0);
add_to_ops_vec (ops, build_zero_cst (TREE_TYPE (last->op)));
*all_done = true;
}