summaryrefslogtreecommitdiff
path: root/gcc/tree-vect-transform.c
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-07 02:12:31 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-07 02:12:31 +0000
commitb8905cbca6b885316ccb4270d260bb5dd9df557d (patch)
tree64c2efc348ee53773e1f761df1cf3c0f5a99d714 /gcc/tree-vect-transform.c
parent6466f153a04570f16391b683d391585db033edd1 (diff)
downloadgcc-b8905cbca6b885316ccb4270d260bb5dd9df557d.tar.gz
2007-06-06 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR tree-opt/32231 * tree-vect-transform.c (vectorizable_call): Call update_stmt after changing the right hand side of the assignment. 2007-06-06 Andrew Pinski <andrew_pinski@playstation.sony.com> PR tree-opt/32231 * gcc.target/i386/vectorize4.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125521 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vect-transform.c')
-rw-r--r--gcc/tree-vect-transform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-vect-transform.c b/gcc/tree-vect-transform.c
index 6108532064b..eff1ed7db7d 100644
--- a/gcc/tree-vect-transform.c
+++ b/gcc/tree-vect-transform.c
@@ -1926,6 +1926,7 @@ vectorizable_call (tree stmt, block_stmt_iterator *bsi, tree *vec_stmt)
harmless. */
type = TREE_TYPE (scalar_dest);
GIMPLE_STMT_OPERAND (stmt, 1) = fold_convert (type, integer_zero_node);
+ update_stmt (stmt);
return true;
}