(reload): Set reload_in_progress earlier.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 3 Aug 1992 01:32:01 +0000 (21:32 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 3 Aug 1992 01:32:01 +0000 (21:32 -0400)
From-SVN: r1744

gcc/reload1.c

index 2c890965432b737306cf62a0d41c2d721fb647b3..ee5aa4f0621f577b1014b1be5461f836c5951f02 100644 (file)
@@ -750,6 +750,9 @@ reload (first, global, dumpfile)
        bzero (basic_block_needs[i], n_basic_blocks);
       }
 
+  /* From now on, we need to emit any moves without making new pseudos.  */
+  reload_in_progress = 1;
+
   /* This loop scans the entire function each go-round
      and repeats until one repetition spills no additional hard regs.  */
 
@@ -1719,9 +1722,6 @@ reload (first, global, dumpfile)
       if (ep->can_eliminate)
        mark_elimination (ep->from, ep->to);
 
-  /* From now on, we need to emit any moves without making new pseudos.  */
-  reload_in_progress = 1;
-
   /* Insert code to save and restore call-clobbered hard regs
      around calls.  Tell if what mode to use so that we will process
      those insns in reload_as_needed if we have to.  */