OSDN Git Service

2006-12-07 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Dec 2006 09:38:37 +0000 (09:38 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Dec 2006 09:38:37 +0000 (09:38 +0000)
* tree-vect-transform.c (vectorizable_call): Fix leftover of
TREE_OPERAND to GIMPLE_STMT_OPERAND conversion.

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

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;
 }