This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/22605] Alignment of struct on stack is no longer the maxium alignment
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Sep 2007 20:42:12 -0000
- Subject: [Bug middle-end/22605] Alignment of struct on stack is no longer the maxium alignment
- References: <bug-22605-5429@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2007-09-29 20:42 -------
if you want aligned arrays use attribute aligned. Now GCC should automatically
doing it for non -Os/stack saving mode for optimization reasons but other than
that, you cannot depend on the alignment.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22605