Commit 290b61f7 by Nick Clifton Committed by Nick Clifton

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

From-SVN: r24210
parent bdf777e4
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> Wed Dec 9 12:15:26 1998 Dave Brolley <brolley@cygnus.com>
* cccp.c (create_definition): Fix end of bufer logic. * cccp.c (create_definition): Fix end of bufer logic.
......
...@@ -3493,7 +3493,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p) ...@@ -3493,7 +3493,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
{ {
/* No alternative works with reloads?? */ /* No alternative works with reloads?? */
if (insn_code_number >= 0) if (insn_code_number >= 0)
abort (); fatal_insn ("Unable to generate reloads for:", insn);
error_for_asm (insn, "inconsistent operand constraints in an `asm'"); error_for_asm (insn, "inconsistent operand constraints in an `asm'");
/* Avoid further trouble with this insn. */ /* Avoid further trouble with this insn. */
PATTERN (insn) = gen_rtx_USE (VOIDmode, const0_rtx); PATTERN (insn) = gen_rtx_USE (VOIDmode, const0_rtx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment