This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/79065] ARM generates ldm/stm on packed structs with aligned members
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 Jan 2017 00:35:28 +0000
- Subject: [Bug c/79065] ARM generates ldm/stm on packed structs with aligned members
- Auto-submitted: auto-generated
- References: <bug-79065-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79065
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
__attribute__((aligned(4)))
This causes the whole struct to become 4 byte aligned.