[patch] Lno branch merge part 8 -- canonical induction variable creation

Roger Sayle roger@eyesopen.com
Sun Aug 22 09:19:00 GMT 2004


On Sat, 21 Aug 2004, Roger Sayle wrote:
> You're assuming and relying on the fact that GCC doesn't already contain
> the allowable optimization of "for (int i=0; i!=-1; i++)" into "for(;;)".

Unfortunately, I can't find the bugzilla PR that I was looking for, but
a good example of a related failure is PR rtl-optimization/4371.  Another
good one is PR rtl-optimization/7799 which is still unresolved.

Roger
--



More information about the Gcc-patches mailing list