摘要 |
PURPOSE:To inform in advance to a user, by outputting a state of generation as compiler output information in case when a side effect which is not always desirable is generated, as a result of execution of optimization in a compiler. CONSTITUTION:A read-in source program 1 is subjected to sentence structure analysis, etc. by a source analyzing part 4, and as for a data, etc., its address assignment is executed by an address assigning part 5, its optimize-working is executed in an optimizing part 6, it is described in a machine language in a code generating part 7, and an object program 9 is obtained. Also, during that time, a message is outputted through a message output part 8, etc. A side effect detecting part 12 classifies and holds the case when a side effect which is not always desirable when the optimize-working is executed in the optimizing part 6, detects a fact that the prescribed optimize-working is executed, collates it with said classification in accordance with its detected result, outputs a message to be outputted, to the message output part 8, and also informs it in advance as compiler output information to a user. |