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 ac54c6630ffb313acd4be25b6898ce5336f7b956..ae7983d164d70fd97ecf38f85d0d1868fc638ce3 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 922f90549944b00395d40fcb0723aa46e50ce97b..4ab2a283dc0fcade06472cbc9b33ac2bd9573e60 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);