OSDN Git Service

* tree-vect-stmts.c (vectorizable_assignment): Call build1 instead of
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 May 2010 19:49:22 +0000 (19:49 +0000)
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 May 2010 19:49:22 +0000 (19:49 +0000)
build1_stat.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159995 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-vect-stmts.c

index 1406ba2..4dfc884 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-28  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * tree-vect-stmts.c (vectorizable_assignment): Call build1 instead of
+       build1_stat.
+
 2010-05-28  Richard Guenther  <rguenther@suse.de>
 
        PR lto/44312
index 8f56410..71f6e85 100644 (file)
@@ -1918,7 +1918,7 @@ vectorizable_assignment (gimple stmt, gimple_stmt_iterator *gsi,
       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);