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.

关于数组编译

咨询一个问题,上图中红框1中的数组赋值语句的汇编时调用了memcpy,如红框2所示。

如果是staitc形式的数组,赋值则不存在上述情况,但是实际代码不可能局部变量都加static。

如果我不希望汇编时调用函数memcpy的形式,有什么选项或者设置可以?请给予帮助,非常感谢。