aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/toplev.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 62e66d9..61528b0 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -3109,10 +3109,12 @@ rest_of_compilation (decl)
}
if (optimize > 0 && flag_thread_jumps)
- /* This pass of jump threading straightens out code
- that was kinked by loop optimization. */
- TIMEVAR (jump_time, thread_jumps (insns, max_reg_num (), 0));
-
+ {
+ /* This pass of jump threading straightens out code
+ that was kinked by loop optimization. */
+ TIMEVAR (jump_time, reg_scan (insns, max_reg_num (), 0));
+ TIMEVAR (jump_time, thread_jumps (insns, max_reg_num (), 0));
+ }
/* Dump rtl code after cse, if we are doing that. */
if (cse2_dump)