This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap fails with current mainline
From: Andreas Jaeger <aj@suse.de>
Date: 11 Jun 2002 16:17:10 +0200
(gdb) p insn_last
$1 = (struct rtx_def *) 0x4046cd00
(gdb) pr
(code_label 106 105 0 95 "" "" [0 uses])
Fixed thusly:
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.
--- emit-rtl.c.~1~ Tue Jun 11 00:54:40 2002
+++ emit-rtl.c Tue Jun 11 07:18:09 2002
@@ -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;