Hi from busybox project. We are concerned about gcc sometimes aligning structs and arrays to 256 bits on i386. We would like to be able to disable it. The proposal is to implement new x86-specific -m option, -mbigdata_align=N. N specifies how big the struct/array should be in order to be "strongly" aligned.
Run-tested patch against 4.1.2 is attached. -- Summary: Make big alignment for structs/arrays configurable Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vda dot linux at googlemail dot com GCC build triplet: i386-pc-linux-gnu GCC host triplet: i386-pc-linux-gnu GCC target triplet: i386-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31319