[Bug target/42017] gcc compiling C for ARM has stopped using r14 in leaf functions?

nickpelling at nanodome dot com gcc-bugzilla@gcc.gnu.org
Sat Nov 14 16:48:00 GMT 2009



------- Comment #3 from nickpelling at nanodome dot com  2009-11-14 16:48 -------
Created an attachment (id=19018)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19018&action=view)
This is the assembler file generated by gcc 4.4.1 for the C test file

Note the presence of "[sp, #0]" in the listing at the points where it really
ought to be using the lr register (AKA r14).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42017



More information about the Gcc-bugs mailing list