diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-12-07 17:37:32 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-12-07 17:37:32 -0500 |
commit | c2f006ec7778167cd349a905f6c5db3b74a0271c (patch) | |
tree | 6f0ca605de57a57ade4a357c91dd155de2dc3bf8 | |
parent | dd103803e2ea358329566108e32c1a00a8d94ec9 (diff) | |
download | gcc-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.c | 10 |
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) |