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: [patches] Re: make regclass to use estimated basic block frequencies


> On a related note, I was looking at your frequency estimation output.
> Something isn't quite right.  Consider
> 
> void f2(int n)
> {
>   int i, j;
>   for (i = 0; i < n; ++i)
>     for (j = 0; j < n; ++j)
>       foo();
> }
The problem is caused by bogus code to re-add to queue block that has not
been processed yet I introduced while removing recursion.
Unfortunately it seems to be dificult to do the trick w/o risc of
infinite loops.  I will try what can I do.

Honza


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