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.

TMS320F280049: Preprocessor directive for setting optimization level

Part Number: TMS320F280049


Hello,

the GCC compiler has a preprocessor directive so that I can set the optimization level for a specific function:

#pragma GCC push_options
#pragma GCC optimize("O0")
void dummy_function() {
    int a;
    a = 15;
    a += 1;
}
#pragma GCC pop_options

Is there a similar way for the TI-compiler CL2000?

Kind regards,
Michael