Patent ID: 7363614

Claim:
An automatic compiler test program generation method, comprising the steps of: selecting a plurality of sub-procedural descriptions by a random number-used method from a set of sub-procedural descriptions, each of which may form an element of a compiler test program; and combining the selected sub-procedural descriptions in accordance with the selected order to generate a compiler test program, wherein the sub-procedural description includes as a type of basic sub-pocedural description that lists executable statements in the order of execution, a control-sub-procedural description that describes how to repeat a procedure, a control sub-procedural description that describes how to select a procedure, and a function sub-procedural description that describes statements to call a function; and wherein the sub-procedural description includes statements necessary for a stand-alone execution, a definition to define and initialize variables as well as to define constants and macros, and statements to display and store an execution result.