when i close the optimization level and set it 'off'. My function can get correct result .
However , after i set the optimization level at '1', my function can not get correct result .
after i stepped into the funuction . i found a problem .
the parameter is a structure and it definitely be passed the function . there is a
local variable in the function and I assigned the parameter to it .
at this time ,the localb bariable's value is not the same as the parmater .
thers is no *.cmd file and *.cfg file in my project and i run it under simulator . the DSP is 6678.
hwo could this problem appear? how to fix this problem? thanks