6.2.4 C*$* assert [no]last value needed

Frequently when a scalar is assigned in a loop that is optimized, KAP uses a temporary variable within the optimized loop and assigns the last value to the original scalar if KAP believes that the scalar may be reused before it is assigned again. The C*$* assert nolast value needed assertion lets KAP assume that such last-value assignments are unnecessary. This assertion is active until reset or until the end of the program.

The /assume=l command qualifiers acts like a global C*$* assert last value needed assertion.

At /optimize=2 and higher, KAP performs variable lifetime analysis to determine when last-value assignments are unnecessary. The C*$* assert nolast value needed assertion can be used on a loop-by-loop basis when you do not want to eliminate last-value assignments globally.


Previous Page | Next Page | Contents | Index |
Command-Line Qualifiers