summaryrefslogtreecommitdiff
path: root/gcc/loop-unswitch.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-18 10:23:22 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-18 10:23:22 +0000
commit0680da650a36b1b2245bc8d92876dbd243bd311c (patch)
tree82a1fb5a01a533049b83b6416d9b5e4eef768913 /gcc/loop-unswitch.c
parent028d5ac7ffe7bae46aedabc679074b4c80f45df8 (diff)
downloadgcc-0680da650a36b1b2245bc8d92876dbd243bd311c.tar.gz
2012-10-18 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 192552 using svnmerge.py git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@192557 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-unswitch.c')
-rw-r--r--gcc/loop-unswitch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/loop-unswitch.c b/gcc/loop-unswitch.c
index 4107048de01..25d77dab22f 100644
--- a/gcc/loop-unswitch.c
+++ b/gcc/loop-unswitch.c
@@ -454,6 +454,7 @@ unswitch_loop (struct loop *loop, basic_block unswitch_on, rtx cond, rtx cinsn)
BRANCH_EDGE (switch_bb), FALLTHRU_EDGE (switch_bb), true,
prob, REG_BR_PROB_BASE - prob);
+ copy_loop_info (loop, nloop);
/* Remove branches that are now unreachable in new loops. */
remove_path (true_edge);
remove_path (false_edge);