OSDN Git Service

* toplev.c (rest_of_compilation): Run shorten-branches before
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Jan 2000 05:32:27 +0000 (05:32 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Jan 2000 05:32:27 +0000 (05:32 +0000)
        reg-stack for now.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31224 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/toplev.c

index 860318c..5f622fa 100644 (file)
@@ -1,3 +1,8 @@
+Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
+
+       * toplev.c (rest_of_compilation): Run shorten-branches before
+       reg-stack for now.
+
 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
 
        * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of 
index 2c0ffa2..ae8bc73 100644 (file)
@@ -3572,6 +3572,15 @@ rest_of_compilation (decl)
      ggc_collect ();
 #endif
 
+  /* Shorten branches. 
+
+     Note this must run before reg-stack because of death note (ab)use
+     in the ia32 backend.  */
+  TIMEVAR (shorten_branch_time,
+          {
+            shorten_branches (get_insns ());
+          });
+
 #ifdef STACK_REGS
   if (stack_reg_dump)
     open_dump_file (".20.stack", decl_printable_name (decl, 2));
@@ -3589,12 +3598,6 @@ rest_of_compilation (decl)
      ggc_collect ();
 #endif
 
-  /* Shorten branches.  */
-  TIMEVAR (shorten_branch_time,
-          {
-            shorten_branches (get_insns ());
-          });
-
   /* Now turn the rtl into assembler code.  */
 
   TIMEVAR (final_time,