[Bug regression/40886] [4.3/4.4/4.5 Regression] No loop counter reversal for simple loops anymore

rakdver at kam dot mff dot cuni dot cz gcc-bugzilla@gcc.gnu.org
Fri Aug 7 08:54:00 GMT 2009



------- Comment #5 from rakdver at kam dot mff dot cuni dot cz  2009-08-07 08:54 -------
Subject: Re:  [4.3/4.4/4.5 Regression] No loop counter reversal for simple
loops anymore

> The RTL loop optimizer does this optimization. I had to fix it a couple 
> of years ago for unsigned variables.
> 
> I think the loop optimizer still does it, just the gcc 4 frontend doesn't
> give it input RTL with a suitable pattern anymore.

RTL loop optimizer only does this optimization on platforms that have a
special loop pattern (see loop-doloop.c).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40886



More information about the Gcc-bugs mailing list