[Bug c/79065] ARM generates ldm/stm on packed structs with aligned members

2017-01-11 Thread vielster at zee dot aero
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79065 --- Comment #1 from Brian Viele --- gcc version 5.4.1 20160609 (release) [ARM/embedded-5-branch revision 237715] (GCC) System: Linux xxx 4.4.0-47-generic #68~14.04.1-Ubuntu SMP Wed Oct 26 19:42:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

[Bug c/79065] New: ARM generates ldm/stm on packed structs with aligned members

2017-01-11 Thread vielster at zee dot aero
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: vielster at zee dot aero Target Milestone: --- LDM/STM do not support unaligned access, so packed structs should not be accessed in this way. If internal members of the struct are aligned to