diff options
author | froydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-28 19:49:22 +0000 |
---|---|---|
committer | froydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-28 19:49:22 +0000 |
commit | 3ae54e9bf7d06e522bbd0be57337ce9dd43b6704 (patch) | |
tree | 96ab18988caab5f3fc140dec89fbc1ea6ec6fca6 | |
parent | e968c41c24d7d3c5664acd6160b47e0b836608f6 (diff) | |
download | gcc-3ae54e9bf7d06e522bbd0be57337ce9dd43b6704.tar.gz |
* tree-vect-stmts.c (vectorizable_assignment): Call build1 instead of
build1_stat.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159995 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-vect-stmts.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1406ba2c78d..4dfc884183a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-05-28 Nathan Froyd <froydnj@codesourcery.com> + + * tree-vect-stmts.c (vectorizable_assignment): Call build1 instead of + build1_stat. + 2010-05-28 Richard Guenther <rguenther@suse.de> PR lto/44312 diff --git a/gcc/tree-vect-stmts.c b/gcc/tree-vect-stmts.c index 8f564104379..71f6e852ad7 100644 --- a/gcc/tree-vect-stmts.c +++ b/gcc/tree-vect-stmts.c @@ -1918,7 +1918,7 @@ vectorizable_assignment (gimple stmt, gimple_stmt_iterator *gsi, for (i = 0; VEC_iterate (tree, vec_oprnds, i, vop); i++) { if (CONVERT_EXPR_CODE_P (code)) - vop = build1_stat (VIEW_CONVERT_EXPR, vectype, vop); + vop = build1 (VIEW_CONVERT_EXPR, vectype, vop); new_stmt = gimple_build_assign (vec_dest, vop); new_temp = make_ssa_name (vec_dest, new_stmt); gimple_assign_set_lhs (new_stmt, new_temp); |