Patent ID: 9274770
Filing Date: 2016-03-01
CPC Classification: G06F

Claim Text:
1. A compilation method providing error correction, comprising: using a compiler driver run by a processor of a computer system, receiving a source file for compilation; using a compiler component invoked by the compiler driver, identifying a compiler internal error during the compilation of the source file; using the compiler driver run by the processor of the computer system, receiving an error message corresponding to the identified compiler internal error; using an error corrector module run by the processor of the computer system, processing the error message to determine an error correction for the identified compiler internal error; modifying a compilation environment of the source file based on the error correction for the identified compiler internal error; and compiling the source file using the modified compilation environment of the source file via the compiler driver run by the processor to generate a binary comprising executable code, wherein the identified compiler internal error is associated with one of a plurality of functions of the source file, wherein the modifying of the compilation environment of the source file comprises adjusting an optimization level for compiling the associated one of the plurality of functions of the source file, and wherein the adjusted optimization level is selected from a stored set of optimization levels for the associated one of the plurality of functions of the source file and is a lower level of optimization than an originally-assigned optimization level for the associated one of the plurality of functions of the source file.