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 optimization level having no effect



I have some benchmark programs that I have been working with for a while.  I have found in the past (not surprisingly) that there is a drastic improvement on performance times when going from no optimization to -2 or -3.  However, for the past 2 days I've found that my compiler optimization level has no impact.  Regardless of the setting it's as if optimization is off.  I had been using CCS5, so I tried switching back to CCS4 but it behaved the same.  I then made a new project and imported the source code to build from a new project, but it still behaved the same.  In the console it shows "C:/TI/ccsv4/tools/compiler/c6000/bin/cl6x" -mv64+ -g -O2 " So it looks like the compiler setting is being passed down correctly.  Can anyone explain this behavior?