Real-Time Workshop User's Guide    

Compiler Optimization Settings

In some very rare instances, due to compiler defects, compiler optimizations applied to Real-Time Workshop generated code may cause the executable program to produce incorrect results, even though the code itself is correct.

The Real-Time Workshop uses the default optimization level for supported compilers. You can usually work around problems caused by compiler optimizations by lowering the optimization level of the compiler, or turning off optimizations. Please refer to your compiler's documentation for information on how to do this.


 Supported Compilers Typographical Conventions