This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/23539] C & C++ compiler generating misaligned references regardless of compiler flags
- From: "mcvick_e at iname dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Aug 2005 23:47:31 -0000
- Subject: [Bug target/23539] C & C++ compiler generating misaligned references regardless of compiler flags
- References: <20050823212148.23539.mcvick_e@iname.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mcvick_e at iname dot com 2005-08-23 23:47 -------
Our Hardware engineers came back to us informing us as to why this _may_ be an
issue. The hardware has a memory bus arbiter ASIC that does not handle mis-
aligned references for 2-byte accesses ending on 1 or 5. So this construct
will fail indeterminately.
I passed on the information given us about the -mstrict-align and it appears to
have cleared up the issue with odd alignment offsets.
Thanks Much!
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23539