Issue No. 11 - November (2003 vol. 29)
Mark W. Bailey , IEEE
Jack W. Davidson , IEEE Computer Society
<p><b>Abstract</b>—In this paper, we present a compiler testing technique that closes the gap between existing compiler implementations and correct compilers. Using formal specifications of procedure-calling conventions, we have built a target-sensitive test suite generator that builds test cases for a specific aspect of compiler code generators: the procedure-calling sequence generator. By exercising compilers with these specification-derived target-specific test suites, our automated testing tool has exposed bugs in every compiler tested on the MIPS and one compiler on the SPARC. These compilers include some that have been in heavy use for many years. Once a fault has been detected, the system can often suggest the nature of the problem. The testing system is an invaluable tool for detecting, isolating, and correcting faults in today's compilers.</p>
Target-sensitive test suite generation, automatic fault isolation, procedure-calling convention, code generation, compiler testing and debugging.
M. W. Bailey and J. W. Davidson, "Automatic Detection and Diagnosis of Faults in Generated Code for Procedure Calls," in IEEE Transactions on Software Engineering, vol. 29, no. , pp. 1031-1042, 2003.