Re: alignment trap on small inline memcpy

2013-05-30 Thread William Mills
On 05/30/2013 07:42 PM, Mans Rullgard wrote: On 31 May 2013 00:34, William Mills wrote: We are using the Linaro prebuilt binary 2013.03 toolchain. We have a program that does a memcpy of 6 bytes and the source and destination pointers are both 6 byte arrays (through multiple levels of struct&

Re: alignment trap on small inline memcpy

2013-05-30 Thread Mans Rullgard
On 31 May 2013 00:34, William Mills wrote: > We are using the Linaro prebuilt binary 2013.03 toolchain. > We have a program that does a memcpy of 6 bytes and the source and > destination pointers are both 6 byte arrays (through multiple levels of > struct & union etc). > At -O2 we get the memcpy i

alignment trap on small inline memcpy

2013-05-30 Thread William Mills
We are using the Linaro prebuilt binary 2013.03 toolchain. We have a program that does a memcpy of 6 bytes and the source and destination pointers are both 6 byte arrays (through multiple levels of struct & union etc). At -O2 we get the memcpy inlined. The code area in question is: 22840: f8b