memcpy() Optimization Misalignment - memcpy() Optimization Misalignment Description When optimization is turned on ( -O1 or higher), if you use memcpy() and the source pointer is aligned to a 32-bit boundary, the compiler implements memcpy() with word-oriented instructions as part of the optimization process. This optimization technique causes unexpected results in your software if memcpy() is used on a misaligned address. Resolution Take steps to ensure that an optimized implementation of memcpy() is called only with aligned data pointers. Custom Fields values: ['novalue'] Troubleshooting novalue True ['novalue'] ['FPGA Dev Tools Quartus II Software'] novalue 10.0 ['Programmable Logic Devices'] ['novalue'] ['novalue'] ['novalue'] - 2021-08-25

external_document