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

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
This commit is contained in:
Richard Guenther 2006-12-07 09:38:37 +00:00 committed by Richard Biener
parent 1815473082
commit 9f9195633a
2 changed files with 6 additions and 1 deletions

View 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

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