This is the mail archive of the gcc-prs@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]

Re: inline-asm/10035: arm register r0 is corrupted


Synopsis: arm register r0 is corrupted

State-Changed-From-To: open->closed
State-Changed-By: rearnsha
State-Changed-When: Wed Mar 12 11:58:05 2003
State-Changed-Why:
    Register r0 is reserved by the ABI for passing arguments to functions and for returning results from those functions.  You can't reserve it for your own variable.  In general, you must restrict fixed register allocations to registers that don't have specific purposes in the ABI.  For ARM this is the set r4-r8 (and in some circumstances you may also use r9 and r10).

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10035


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