Commit 29ac1d9a by Zdenek Dvorak Committed by Zdenek Dvorak

tree-parloops.c (transform_to_exit_first_loop): Cast nit to the correct type.

	* tree-parloops.c (transform_to_exit_first_loop): Cast nit to the
	correct type.

From-SVN: r131491
parent f13d199c
2008-01-12 Zdenek Dvorak <ook@ucw.cz>
* tree-parloops.c (transform_to_exit_first_loop): Cast nit to the
correct type.
2008-01-11 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (override_options): Set flag_shlib.
......
......@@ -1436,6 +1436,9 @@ transform_to_exit_first_loop (struct loop *loop, htab_t reduction_list, tree nit
/* Initialize the control variable to NIT. */
bsi = bsi_after_labels (ex_bb);
nit = force_gimple_operand_bsi (&bsi,
fold_convert (TREE_TYPE (control_name), nit),
false, NULL_TREE, false, BSI_SAME_STMT);
t = build_gimple_modify_stmt (control_name, nit);
bsi_insert_before (&bsi, t, BSI_NEW_STMT);
SSA_NAME_DEF_STMT (control_name) = t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment