GCC Induction Variable Terminology

Toon Moene toon@moene.indiv.nluug.nl
Fri Sep 12 19:27:00 GMT 2003


Chris Lattner wrote:

> What exactly are a "basic" and "general" induction variables?  I see a lot
> of references to them on the list and in the code, but not in any
> literature that I've found. 

[ A bit late, but I'm completely swamped by SoBig.F from Brazil - I hope
   these guys are going to make short work of switching to GNU/Linux
   wholesale - government (including universities !) and private sector ]

Literature:

Principles of Compiler Design
Alfred V. Aho and Jeffrey D. Ullman
Addison - Wesley, 1977

Chapter 13 More about loop optimization.
Paragraph 13.5 Induction variable elimination.

[ it helps to consult a book old enough to forego the one-dimensionality
   of C "arrays". ]

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc-g95.sourceforge.net/ (under construction)



More information about the Gcc mailing list