This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/33594] Local (stack) arrays not aligned on word boundaries
- From: "david_albert at axiometric dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Oct 2007 22:06:34 -0000
- Subject: [Bug c/33594] Local (stack) arrays not aligned on word boundaries
- References: <bug-33594-15167@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from david_albert at axiometric dot com 2007-10-03 22:06 -------
This issue has affected *many* developers on a variety of platforms including
ARM and PPC. There is no elegant way to resolve this without searching through
every line of code. There is a warning -Wcast-align that helps to find where
some of these alignment issues may exist, but there is no nice way to fix them
(i.e. the warning will persist even after the variable in question is aligned).
Please consider re-submitting this as an enhancement request.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33594