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 6bddb01..51476b1 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 213ced9..53380b2 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;
 }