mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-23 01:50:33 +08:00
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
This commit is contained in:
parent
8fc001f9a2
commit
84f1ebff03
@ -1,5 +1,8 @@
|
||||
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.
|
||||
|
||||
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)
|
||||
{
|
||||
if (GET_RTX_CLASS (GET_CODE (p)) != 'i')
|
||||
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user