[Bug target/53016] memcpy optimization can cause unaligned access on ARM

2012-04-17 Thread jquesnelle at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53016 --- Comment #6 from Jeffrey Quesnelle 2012-04-17 17:08:22 UTC --- Hmm, even explicit casts to new void*/char* types doesn't fix it: const child_t * child3 = (const child_t*)( (const char*)(parentptr) + 4 + size + size); const void* src = (const

[Bug target/53016] memcpy optimization can cause unaligned access on ARM

2012-04-17 Thread jquesnelle at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53016 Jeffrey Quesnelle changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALI

[Bug c/53016] New: memcpy optimization can cause unaligned access on ARM

2012-04-17 Thread jquesnelle at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53016 Bug #: 53016 Summary: memcpy optimization can cause unaligned access on ARM Classification: Unclassified Product: gcc Version: 4.4.3 Status: UNCONFIRMED Severity: normal