Commit 84f1ebff by Jeffrey A Law Committed by Jeff Law

remove.c (optimize_reg_copy_3): Abort instead of silently generating bogus rtl.

        * remove.c (optimize_reg_copy_3): Abort instead of silently generating
        bogus rtl.

From-SVN: r21887
parent 8fc001f9
Thu Aug 20 19:43:44 1998 Jeffrey A Law (law@cygnus.com) Thu Aug 20 19:43:44 1998 Jeffrey A Law (law@cygnus.com)
* remove.c (optimize_reg_copy_3): Abort instead of silently generating
bogus rtl.
* jump.c (rtx_renumbered_equal_p): Do not consider PLUS commutative. * jump.c (rtx_renumbered_equal_p): Do not consider PLUS commutative.
Thu Aug 20 17:35:20 1998 David S. Miller <davem@pierdol.cobaltmicro.com> Thu Aug 20 17:35:20 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
......
...@@ -560,7 +560,10 @@ optimize_reg_copy_3 (insn, dest, src) ...@@ -560,7 +560,10 @@ optimize_reg_copy_3 (insn, dest, src)
{ {
if (GET_RTX_CLASS (GET_CODE (p)) != 'i') if (GET_RTX_CLASS (GET_CODE (p)) != 'i')
continue; continue;
validate_replace_rtx (src_reg, subreg, p); /* If we can not perform the replacement, then abort now
to make debugging easier. */
if (! validate_replace_rtx (src_reg, subreg, p))
abort ();
} }
validate_replace_rtx (src, src_reg, insn); validate_replace_rtx (src, src_reg, insn);
} }
......
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