This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bug in flow.c


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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]