-qstrict_induction

Description

Disables loop induction variable optimizations that have the potential to alter the semantics of your program. Such optimizations can change the result of a program if truncation or sign extension of a loop induction variable should occur as a result of variable overflow or wrap-around.

Syntax

Read syntax diagramSkip visual syntax diagram>>- -q--+-nostrict_induction-+---------------------------------><
        '-strict_induction---'

Default

Notes

The specifying option -O2 implies -qnostrict_induction. Specifying both is unnecessary.

Use of option -qstrict_induction is generally not recommended because it can cause considerable performance degradation.

Related information