AnsweredAssumed Answered

I want to optimize a specific function of c code to 0 in m52259 codewarrior.

Question asked by santosh kubasad on Jul 9, 2014
Latest reply on Jul 19, 2014 by santosh kubasad

Hello I want to optimize specific function to 0 optimiation. Please let me know the syntax for it. I tried

 

#pragma GCC push_options

#pragma optimization_level 0

void fun()

{

----

-----

}

#pragma GCC pop_options

 

Not sure whether it is correct syntax or not. Please help me. Thanks

Outcomes