Cj. Burgess et M. Saidi, THE AUTOMATIC-GENERATION OF TEST CASES FOR OPTIMIZING FORTRAN COMPILERS, Information and software technology, 38(2), 1996, pp. 111-119
This paper describes the design of an automatic generator of compiler
test cases which are aimed at testing the correctness of the code-gene
ration and optimization phases of a compiler. The test cases are desig
ned to contain specific features that optimizing compilers are known t
o exploit frequently, and to include self-checking code to check for t
heir correct execution. Fortran77 is used to illustrate the results, a
lthough the general principles employed are applicable to many compile
rs for imperative languages.