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: why always show up "Optimization Advice"?

Tool/software: TI C/C++ Compiler

Dear all,

           I am using CCS6.2 to build my project. I had select the --opt_level = 3.  But the Optimization Advice message still shows up.

           the message:

           Current optimization/debug settings: --opt_level=off -opt_for_speed=2

           Detecting compilation without optimization. Recommend setting --opt_level=3

 

           But I had selected the --opt_level = 3, why?

           Is it not working?