diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-30 11:16:33 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-30 11:16:33 +0000 |
commit | ffbd194b988865c76cfe0b743b88bbdd49e5a391 (patch) | |
tree | bb613a03849cce8caab5f04bf5f098ca8a6970f4 /gcc/loop-unroll.c | |
parent | cda6870fc00cbd490d382b7acb34713138411281 (diff) | |
download | gcc-ffbd194b988865c76cfe0b743b88bbdd49e5a391.tar.gz |
* loop-unroll.c (unroll_loop_runtime_iterations): Unshare newly emit
code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126141 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-unroll.c')
-rw-r--r-- | gcc/loop-unroll.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c index 77d454f35bc..3e20fcb4b0d 100644 --- a/gcc/loop-unroll.c +++ b/gcc/loop-unroll.c @@ -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); |