This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Avoid messing up of loop notes
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: Avoid messing up of loop notes
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 23 Jul 2001 12:45:07 -0700
- Cc: gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org
- References: <20010723143754.P28424@atrey.karlin.mff.cuni.cz>
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~