As Anatoly Sokolov wrote:

> These changes should be reverted: 
> 
> -  if (main_p)
> -    {
> -      fprintf (file, ("\t" 
> -                   AS1 (ldi,r28) ",lo8(%s - " HOST_WIDE_INT_PRINT_DEC ")" 
> CR_TAB
> -                   AS1 (ldi,r29) ",hi8(%s - " HOST_WIDE_INT_PRINT_DEC ")" 
> CR_TAB
> -                   AS2 (out,__SP_H__,r29)     CR_TAB
> -                   AS2 (out,__SP_L__,r28) "\n"),
> -            avr_init_stack, size, avr_init_stack, size);
> -      
> -      prologue_size += 4;
> -    }
> -  else if (minimize && (frame_pointer_needed || live_seq > 6)) 
> +  if (minimize && (frame_pointer_needed || live_seq > 6)) 

That would restore the old (buggy) stack pointer initialization.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to