From 9f9195633a4a608e677cfafd4e8d355342123cda Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Thu, 7 Dec 2006 09:38:37 +0000 Subject: tree-vect-transform.c (vectorizable_call): Fix leftover of TREE_OPERAND to GIMPLE_STMT_OPERAND conversion. 2006-12-07 Richard Guenther * tree-vect-transform.c (vectorizable_call): Fix leftover of TREE_OPERAND to GIMPLE_STMT_OPERAND conversion. From-SVN: r119612 --- gcc/ChangeLog | 5 +++++ gcc/tree-vect-transform.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6bddb01e..51476b1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-12-07 Richard Guenther + + * tree-vect-transform.c (vectorizable_call): Fix leftover of + TREE_OPERAND to GIMPLE_STMT_OPERAND conversion. + 2006-12-06 Aldy Hernandez PR/30079 diff --git a/gcc/tree-vect-transform.c b/gcc/tree-vect-transform.c index 213ced9..53380b2 100644 --- a/gcc/tree-vect-transform.c +++ b/gcc/tree-vect-transform.c @@ -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; } -- cgit v1.1