aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-12-07 17:37:32 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1996-12-07 17:37:32 -0500
commitc2f006ec7778167cd349a905f6c5db3b74a0271c (patch)
tree6f0ca605de57a57ade4a357c91dd155de2dc3bf8
parentdd103803e2ea358329566108e32c1a00a8d94ec9 (diff)
downloadgcc-c2f006ec7778167cd349a905f6c5db3b74a0271c.zip
gcc-c2f006ec7778167cd349a905f6c5db3b74a0271c.tar.gz
gcc-c2f006ec7778167cd349a905f6c5db3b74a0271c.tar.bz2
(rest_of_compilation): Call regscan before each jump threading pass.
From-SVN: r13225
-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)