This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/54983] ARM gcc creates invalid assembly: bad immediate value for 8-bit offset (1024)
- From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 19 Oct 2012 16:54:41 +0000
- Subject: [Bug c/54983] ARM gcc creates invalid assembly: bad immediate value for 8-bit offset (1024)
- Auto-submitted: auto-generated
- References: <bug-54983-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54983
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #3 from Richard Earnshaw <rearnsha at gcc dot gnu.org> 2012-10-19 16:54:41 UTC ---
The 'o' in "+Qo" is invalid for this instruction. There is, unfortunately, no
way to specify in inline assembly instructions the precise addressing range of
strh.
I think your safest bet is to use "Q".