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.

CCS中如何对某个函数不执行优化

TI的工程师,你们好,想请教一个关于CCS中优化的问题。在IAR中,如果在某一个函数前面添加#pragma optimize=none,则代表这个函数将不进行优化。请问CCS中是否有类似的优化功能,例如在整体优化等级开到4(最高)的时候,是否支持对某一个函数不进行优化?