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.

关于一个do while循环开优化选项后出错的问题

那一段do...while循环的代码是这样的

发现开了O3选项之后输出结果就不对了, 变量c和d分别是unsigned int和unsigned int *的变量,把SPLOOP关闭以及打开优化以后的汇编代码如下:

请问一下关于这类问题是什么原因导致的呢? 还有就是有哪些资料我可以去参考一下的呢? 谢谢!