If an insn cannot be reloaded, display it before calling abort()
authorNick Clifton <nickc@cygnus.com>
Wed, 9 Dec 1998 09:55:10 +0000 (09:55 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Wed, 9 Dec 1998 09:55:10 +0000 (09:55 +0000)
From-SVN: r24210

gcc/ChangeLog
gcc/reload.c

index ac54c66..ae7983d 100644 (file)
@@ -1,3 +1,8 @@
+Wed Dec  9 09:53:58 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * reload.c (find_reloads): Display the insn that cannot be
+       reloaded. 
+
 Wed Dec  9 12:15:26 1998  Dave Brolley  <brolley@cygnus.com>
 
        * cccp.c (create_definition): Fix end of bufer logic.
index 922f905..4ab2a28 100644 (file)
@@ -3493,7 +3493,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
     {
       /* No alternative works with reloads??  */
       if (insn_code_number >= 0)
-       abort ();
+       fatal_insn ("Unable to generate reloads for:", insn);
       error_for_asm (insn, "inconsistent operand constraints in an `asm'");
       /* Avoid further trouble with this insn.  */
       PATTERN (insn) = gen_rtx_USE (VOIDmode, const0_rtx);