------- Comment #3 from pinskia at gcc dot gnu dot org 2005-11-16 23:10 ------- This is the assert by the way: /* Saving a register in a register. */ gcc_assert (call_used_regs [REGNO (dest)] && (!fixed_regs [REGNO (dest)] /* For the SPARC and its register window. */ || DWARF_FRAME_REGNUM (REGNO (src)) == DWARF_FRAME_RETURN_COLUMN));
saving the register in r26 is valid as there are no calls in this function at all. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24908