]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-vect-transform.c (vectorizable_call): Fix leftover of TREE_OPERAND to GIMPLE_STM...
authorRichard Guenther <rguenther@suse.de>
Thu, 7 Dec 2006 09:38:37 +0000 (09:38 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 7 Dec 2006 09:38:37 +0000 (09:38 +0000)
2006-12-07  Richard Guenther  <rguenther@suse.de>

* tree-vect-transform.c (vectorizable_call): Fix leftover of
TREE_OPERAND to GIMPLE_STMT_OPERAND conversion.

From-SVN: r119612

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

index 6bddb01ea43ae6927f4e5d29ff2378318d3ac5ab..51476b1a7ddd49b80f4d0f0305fceaf7b491feea 100644 (file)
@@ -1,3 +1,8 @@
+2006-12-07  Richard Guenther  <rguenther@suse.de>
+
+       * tree-vect-transform.c (vectorizable_call): Fix leftover of
+       TREE_OPERAND to GIMPLE_STMT_OPERAND conversion.
+
 2006-12-06  Aldy Hernandez  <aldyh@redhat.com>
 
        PR/30079
index 213ced9ddc9a514dd9555b843e2a0a63e72283e5..53380b27e81c1ffe6f82533c43da97609c942f7c 100644 (file)
@@ -1714,7 +1714,7 @@ vectorizable_call (tree stmt, block_stmt_iterator *bsi, tree *vec_stmt)
      to the new definition.  So just replace rhs of the statement with something
      harmless.  */
   type = TREE_TYPE (scalar_dest);
-  TREE_OPERAND (stmt, 1) = fold_convert (type, integer_zero_node);
+  GIMPLE_STMT_OPERAND (stmt, 1) = fold_convert (type, integer_zero_node);
 
   return true;
 }