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.

CCS3.3编译后的代码因变量定义顺序问题无法运行

最近在用CCS3.3编译代码没有错误和警告后下载到芯片里发现因为变量定义顺序无法运行,比如:

            在一个结构体里,定义以下变量:

               float32     a;

                                                   float32     b;

                                                   float32     c;

                                      c定义在a的后面无法运行,定义在最后可以运行,如果定义在a后面,将Build options里设置为-o3可以运行。

即使是设置为-o3,  我有一个Uint32变量tmp, tmp/100,程序不能运行,tmp/1000可以运行。

从语法上没有问题,感觉有些奇怪,所以请教。谢谢!