emit-rtl.c (try_split): Do not abort on non-INSN_P.

2002-06-11  David S. Miller  <davem@redhat.com>

	* emit-rtl.c (try_split): Do not abort on non-INSN_P.
	Only run RTX equality checks on INSN_P rtl.

From-SVN: r54502
This commit is contained in:
David S. Miller 2002-06-11 07:24:45 -07:00 committed by David S. Miller
parent b2ccb744c6
commit 6f9703afa5
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2002-06-11 David S. Miller <davem@redhat.com>
* emit-rtl.c (try_split): Do not abort on non-INSN_P.
Only run RTX equality checks on INSN_P rtl.
2002-06-11 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.md (reload_base, ltorg): Remove.

View File

@ -3101,10 +3101,6 @@ try_split (pat, trial, last)
if (seq)
{
/* SEQ can only be a list of insns. */
if (! INSN_P (seq))
abort ();
/* Sometimes there will be only one insn in that list, this case will
normally arise only when we want it in turn to be split (SFmode on
the 29k is an example). */
@ -3118,7 +3114,8 @@ try_split (pat, trial, last)
insn_last = seq;
while (1)
{
if (rtx_equal_p (PATTERN (insn_last), pat))
if (INSN_P (insn_last)
&& rtx_equal_p (PATTERN (insn_last), pat))
return trial;
if (NEXT_INSN (insn_last) == NULL_RTX)
break;