aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-01-13 02:04:37 +0000
committerRichard Stallman <rms@gnu.org>1993-01-13 02:04:37 +0000
commita3ec87a808991cb957be7d08687b93100f9fecb2 (patch)
tree324a6dd4adbda555e2da85094f27cbe98f38a1c7
parenta3b5c94a7540b20424008162d458fb33e671a058 (diff)
downloadgcc-a3ec87a808991cb957be7d08687b93100f9fecb2.zip
gcc-a3ec87a808991cb957be7d08687b93100f9fecb2.tar.gz
gcc-a3ec87a808991cb957be7d08687b93100f9fecb2.tar.bz2
(reload): Clear reload_in_progress even if reloading fails.
From-SVN: r3215
-rw-r--r--gcc/reload1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index d005ebe..7afe7ef 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -1829,12 +1829,12 @@ reload (first, global, dumpfile)
basic_block_live_at_start[i][FRAME_POINTER_REGNUM / REGSET_ELT_BITS]
&= ~ ((REGSET_ELT_TYPE) 1 << (FRAME_POINTER_REGNUM % REGSET_ELT_BITS));
- reload_in_progress = 0;
-
/* Come here (with failure set nonzero) if we can't get enough spill regs
and we decide not to abort about it. */
failed:
+ reload_in_progress = 0;
+
/* Now eliminate all pseudo regs by modifying them into
their equivalent memory references.
The REG-rtx's for the pseudos are modified in place,