summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-12-07 22:37:32 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-12-07 22:37:32 +0000
commit331828c027302ff4e4d4f7ecb52aac9e2c7ad36f (patch)
tree6f0ca605de57a57ade4a357c91dd155de2dc3bf8
parenta16d5a74bf9b81fccf582ed3ec5fa2682c71b533 (diff)
downloadgcc-331828c027302ff4e4d4f7ecb52aac9e2c7ad36f.tar.gz
(rest_of_compilation): Call regscan before each jump threading pass.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13225 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/toplev.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 62e66d9b8a1..61528b052dc 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)