[Bug c/54983] ARM gcc creates invalid assembly: bad immediate value for 8-bit offset (1024)
rearnsha at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 19 16:55:00 GMT 2012
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".
More information about the Gcc-bugs
mailing list