diff options
author | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-05 17:26:05 +0000 |
---|---|---|
committer | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-05 17:26:05 +0000 |
commit | 35cc02b5c80ac6738c1a3362a822e3d7e4d0c587 (patch) | |
tree | 32d3ee1ddfcad180d619d756a84eeb0df779a6a2 /gcc/tree-ssa-loop-manip.c | |
parent | fc297ba47e780c3659434d04f3c299b705154d5f (diff) | |
download | ppe42-gcc-35cc02b5c80ac6738c1a3362a822e3d7e4d0c587.tar.gz ppe42-gcc-35cc02b5c80ac6738c1a3362a822e3d7e4d0c587.zip |
Merge gimple-tuples-branch into mainline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119546 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop-manip.c')
-rw-r--r-- | gcc/tree-ssa-loop-manip.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/tree-ssa-loop-manip.c b/gcc/tree-ssa-loop-manip.c index d92f6e91ba5..7cfb9e1301a 100644 --- a/gcc/tree-ssa-loop-manip.c +++ b/gcc/tree-ssa-loop-manip.c @@ -100,9 +100,8 @@ create_iv (tree base, tree step, tree var, struct loop *loop, if (stmts) bsi_insert_on_edge_immediate (pe, stmts); - stmt = build2 (MODIFY_EXPR, void_type_node, va, - build2 (incr_op, TREE_TYPE (base), - vb, step)); + stmt = build2_gimple (GIMPLE_MODIFY_STMT, va, + build2 (incr_op, TREE_TYPE (base), vb, step)); SSA_NAME_DEF_STMT (va) = stmt; if (after) bsi_insert_after (incr_pos, stmt, BSI_NEW_STMT); |