(rest_of_compilation): Call regscan before each jump threading pass.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 7 Dec 1996 22:37:32 +0000 (17:37 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 7 Dec 1996 22:37:32 +0000 (17:37 -0500)
From-SVN: r13225

gcc/toplev.c

index 62e66d9b8a16c7eb1cc9b02565f6bdcf716b181c..61528b052dc5bca3e89e1437eb5630e4c531b420 100644 (file)
@@ -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)