aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1992-08-02 21:32:01 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1992-08-02 21:32:01 -0400
commitb2f15f9433cf6b37e17ae87ddfe2879a373c636a (patch)
tree7e54f366453c786e3c33884a5a1c60ce0bdb50e3
parentc0b9d4c816db70e263838b57ac803ad3c451fa90 (diff)
downloadgcc-b2f15f9433cf6b37e17ae87ddfe2879a373c636a.zip
gcc-b2f15f9433cf6b37e17ae87ddfe2879a373c636a.tar.gz
gcc-b2f15f9433cf6b37e17ae87ddfe2879a373c636a.tar.bz2
(reload): Set reload_in_progress earlier.
From-SVN: r1744
-rw-r--r--gcc/reload1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 2c89096..ee5aa4f 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -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. */