Compiler Analysis of the Value Ranges for Variables
- 1 May 1977
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. SE-3 (3) , 243-250
- https://doi.org/10.1109/tse.1977.231133
Abstract
Programs can be analyzed to determine bounds on the ranges of values assumed by variables at various points in the program. This range information can then be used to eliminate redundant tests, verify correct operation, choose data representations, select code to be generated, and provide diagnostic information. Sophisticated analyses involving the proofs of complex assertions are sometimes required to derive accurate range information for the purpose of proving programs correct. The performance of such algorithms may be unacceptable for the routine analysis required during the compilation process. This paper presents a discussion of mechanical range analysis employing techniques practical for use in a compiler. This analysis can also serve as a useful adjunct to the more sophisticated techniques required for program proving.Keywords
This publication has 4 references indexed in Scilit:
- A program data flow analysis procedureCommunications of the ACM, 1976
- A new approach to program testingPublished by Association for Computing Machinery (ACM) ,1975
- Characterizations of Reducible Flow GraphsJournal of the ACM, 1974
- Control flow analysisACM SIGPLAN Notices, 1970