This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33111] Bad code generation with -O2 (ARM 7 architecture)
- From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 May 2009 14:51:41 -0000
- Subject: [Bug target/33111] Bad code generation with -O2 (ARM 7 architecture)
- References: <bug-33111-14993@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from rearnsha at gcc dot gnu dot org 2009-05-22 14:51 -------
The ARM7 does not support unaligned accesses in the way that C programmers
normally expect (even if it doesn't fault them in the MMU then it still won't
fetch what you might expect -- see the CPU manuals for details).
As of ARM11 the rules were changed, but that's a different story...
--
rearnsha at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33111