loop-unroll.c (unroll_loop_runtime_iterations): Unshare newly emit code.

* loop-unroll.c (unroll_loop_runtime_iterations): Unshare newly emit    
	code.

From-SVN: r126141
This commit is contained in:
Jan Hubicka 2007-06-30 13:16:33 +02:00 committed by Jan Hubicka
parent c5274326e0
commit 2ed2257828
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-06-30 Jan Hubicka <jh@suse.cz>
* loop-unroll.c (unroll_loop_runtime_iterations): Unshare newly emit
code.
2006-06-30 Thomas Neumann <tneumann@users.sourceforge.net>
* ipa.c (cgraph_postorder): Cast according to the coding conventions.

View File

@ -1025,6 +1025,7 @@ unroll_loop_runtime_iterations (struct loop *loop)
init_code = get_insns ();
end_sequence ();
unshare_all_rtl_in_chain (init_code);
/* Precondition the loop. */
split_edge_and_insert (loop_preheader_edge (loop), init_code);