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

--- Comment #9 from Bill Westfield <westfw at yahoo dot com> 2010-12-04 
03:11:23 UTC ---
This is essentially identical to the patch I provided for
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44617
so it looks good to me.
I had two worries:
Is R15 used anywhere else in startup code that might not obey the register save
conventions (ie does do_global_ctors need to preserve R15)
The AVR has a lot of opcodes that are not valid on registers less than 16.  It
doesn't look like any of these are used here, but I wasn't 100% positive that
using R15 wouldn't cause problems...

Reply via email to