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