This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Revmap of shorten_branches for new loop code
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: Revmap of shorten_branches for new loop code
- From: Jan Hubicka <hubicka at atrey dot karlin dot mff dot cuni dot cz>
- Date: Tue, 4 Jan 2000 10:20:50 +0100
- Cc: egcs-patches at egcs dot cygnus dot com
- References: <19991230233717.D409@atrey.karlin.mff.cuni.cz> <20000103141318.E737@cygnus.com>
> On Thu, Dec 30, 1999 at 11:37:17PM +0100, Jan Hubicka wrote:
> > + if (optimize)
> > + find_basic_blocks (first, max_reg_num (), NULL, 0);
> [...]
> > ! if (optimize)
> > ! {
> > ! find_basic_blocks (first, max_reg_num (), NULL, 0);
>
> Why are you calling find_basic_blocks twice?
Oops! Thats bug.
First I was calling before the loops was needed, but this caused problems
with the chagned insn chain (as comment says).
So I moved it and probably forgot to remove old one for some purpose...
dumb..
Do you want to see updated patch with the second occurence removed?
Honza
>
>
> r~