ARM compiler misbehaves ?

Dickinson, Derek Derek.Dickinson@icn.siemens.com
Thu Apr 29 14:47:00 GMT 2004


>> Last time I checked (with the ARM and H8 gcc's) you could. It's
>> just that dereferencing the pointer won't work right. Copying
>> to/from the value of the pointer with memcpy() works fine.
>> 
>
>No, even that isn't guaranteed, since the compiler is entitled to "know"
>the implementation of memcpy, and therefore to implement it inline.

Is this true?  I thought memcpy was guaranteed to work on unaligned 
addresses regardless of whether it is inline.  
Derek


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list