This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/54983] ARM gcc creates invalid assembly: bad immediate value for 8-bit offset (1024)


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]