inline-asm/10035: arm register r0 is corrupted
rearnsha@gcc.gnu.org
rearnsha@gcc.gnu.org
Wed Mar 12 12:34:00 GMT 2003
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
More information about the Gcc-bugs
mailing list