This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31319] New: Make big alignment for structs/arrays configurable
- From: "vda dot linux at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Mar 2007 19:55:16 -0000
- Subject: [Bug c/31319] New: Make big alignment for structs/arrays configurable
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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