If an insn cannot be reloaded, display it before calling abort()

From-SVN: r24210
This commit is contained in:
Nick Clifton 1998-12-09 09:55:10 +00:00 committed by Nick Clifton
parent bdf777e4a4
commit 290b61f7fa
2 changed files with 6 additions and 1 deletions

View 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.

View 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);