[PATCH,obv] don't call build1_stat in tree-vect-stmts.c
Nathan Froyd
froydnj@codesourcery.com
Fri May 28 21:32:00 GMT 2010
...because it breaks when trying to compile with
--enable-gather-detailed-mem-stats (which is currently broken on trunk,
but that's a patch for a different day).
Committed as obvious.
-Nathan
* tree-vect-stmts.c (vectorizable_assignment): Call build1 instead of
build1_stat.
Index: tree-vect-stmts.c
===================================================================
--- tree-vect-stmts.c (revision 159994)
+++ tree-vect-stmts.c (working copy)
@@ -1918,7 +1918,7 @@ vectorizable_assignment (gimple stmt, gi
for (i = 0; VEC_iterate (tree, vec_oprnds, i, vop); i++)
{
if (CONVERT_EXPR_CODE_P (code))
- vop = build1_stat (VIEW_CONVERT_EXPR, vectype, vop);
+ vop = build1 (VIEW_CONVERT_EXPR, vectype, vop);
new_stmt = gimple_build_assign (vec_dest, vop);
new_temp = make_ssa_name (vec_dest, new_stmt);
gimple_assign_set_lhs (new_stmt, new_temp);
More information about the Gcc-patches
mailing list