(reload): Clear reload_in_progress even if reloading fails.
authorRichard Stallman <rms@gnu.org>
Wed, 13 Jan 1993 02:04:37 +0000 (02:04 +0000)
committerRichard Stallman <rms@gnu.org>
Wed, 13 Jan 1993 02:04:37 +0000 (02:04 +0000)
From-SVN: r3215

gcc/reload1.c

index d005ebe..7afe7ef 100644 (file)
@@ -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,