]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* 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 1406ba2c78d37fb9fd9d7b1968e1c2cf364c8d78..4dfc884183a7cbc70afa32fb7fc661813eab6d1e 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 8f564104379a2798f13db9adec7fa5f09f100426..71f6e852ad72bb5240db65aaad65056d3e913eb3 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);