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: Revmap of shorten_branches for new loop code


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

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