diff options
author | Richard Guenther <rguenther@suse.de> | 2006-12-07 09:38:37 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2006-12-07 09:38:37 +0000 |
commit | 9f9195633a4a608e677cfafd4e8d355342123cda (patch) | |
tree | b74cc4511fe866bd7607c27d0652bf6c2a9646d3 /gcc | |
parent | 18154730825f50de9cbbb16b1f81d2b008c0e4dc (diff) | |
download | gcc-9f9195633a4a608e677cfafd4e8d355342123cda.zip gcc-9f9195633a4a608e677cfafd4e8d355342123cda.tar.gz gcc-9f9195633a4a608e677cfafd4e8d355342123cda.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-vect-transform.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <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 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; } |