From: Richard Kenner Date: Mon, 3 Aug 1992 01:32:01 +0000 (-0400) Subject: (reload): Set reload_in_progress earlier. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2f15f9433cf6b37e17ae87ddfe2879a373c636a;p=gcc.git (reload): Set reload_in_progress earlier. From-SVN: r1744 --- diff --git a/gcc/reload1.c b/gcc/reload1.c index 2c890965432..ee5aa4f0621 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. */