This is the mail archive of the gcc-patches@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: Avoid messing up of loop notes


On Mon, Jul 23, 2001 at 02:37:54PM +0200, Jan Hubicka wrote:
> +   if (bb1->index > bb2->index)
> +     return false;
> +   for (insn = bb1->end; insn != bb2->head && count >= 0;
> +        insn = NEXT_INSN (insn))

Um, how can this work?  BB1 is after BB2, yet we're
trying to step *forward* from BB1 to BB2?


r~


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