(allocate_reload_reg): Always check for asm
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Oct 1992 06:37:26 +0000 (06:37 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Oct 1992 06:37:26 +0000 (06:37 +0000)
on failure instead of simply aborting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2324 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/reload1.c

index 4374d1f..d9b325b 100644 (file)
@@ -4033,7 +4033,7 @@ allocate_reload_reg (r, insn, last_reload, noerror)
     {
       if (noerror)
        return 0;
-      abort ();
+      goto failure;
     }
 
   last_spill_reg = i;
@@ -4076,6 +4076,7 @@ allocate_reload_reg (r, insn, last_reload, noerror)
   if (noerror)
     return 0;
 
+ failure:
   if (asm_noperands (PATTERN (insn)) < 0)
     /* It's the compiler's fault.  */
     abort ();