This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bug in flow.c
- To: gcc at gcc dot gnu dot org
- Subject: Re: bug in flow.c
- From: Andrew Phillips <atp at pergamentum dot com>
- Date: Mon, 21 Aug 2000 08:31:59 -0600 (MDT)
- Cc: johnydog at napalm dot go dot cz
Yes, you are right. That'll teach me not to make patches whilst
jetlagged. The correct patched code is;
if (q != PREV_INSN (c->head)) {
/* check that we will not orphan b->end
* i.e. NEXT_INSN(b->head) == b->end */
if (b->end == NEXT_INSN(q)) {
b->end = q;
}
delete_insn_chain (NEXT_INSN (q), PREV_INSN (c->head));
}
Thanks,
Andy
--
Dr Andy Phillips atp@pergamentum.com
Pergamentum Solutions atp@coralcay.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~