This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler optimisation turn on/off specific features

Hi all,

When I turn on optimization in the Project properties -> C6000 compiler -> optimisation menu my software behaves odd :)

according to spru187 the optimisation level 0 does the following tasks.

--opt_level=0 or -O0

– Performs control-flow-graph simplification

– Allocates variables to registers

– Performs loop rotation

– Eliminates unused code

– Simplifies expressions and statements

– Expands calls to functions declared inline

is it possible to turn off these tasks one by one to eliminate each one as the cause of my problems?