OSDN Git Service

* cse.c (cse_insn): Set "cse_jumps_altered" when collapsing
[pf3gnuchains/gcc-fork.git] / gcc / toplev.c
index 10d4f89..9031fee 100644 (file)
@@ -2559,7 +2559,11 @@ rest_of_compilation (decl)
 
   if (optimize > 0 && flag_rerun_cse_after_loop)
     {
+      /* Running another jump optimization pass before the second
+        cse pass sometimes simplifies the RTL enough to allow
+        the second CSE pass to do a better job.  */
       TIMEVAR (cse2_time, reg_scan (insns, max_reg_num (), 0));
+      TIMEVAR (jump_time, jump_optimize (insns, 0, 0, 1));
 
       TIMEVAR (cse2_time, tem = cse_main (insns, max_reg_num (),
                                          1, cse2_dump_file));