(reload): Set reload_in_progress earlier.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Aug 1992 01:32:01 +0000 (01:32 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Aug 1992 01:32:01 +0000 (01:32 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1744 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/reload1.c

index 2c89096..ee5aa4f 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.  */