Oops I meant subtracting 2(3) from stack pointer.
-----Original Message----- From: Stu Bell <[EMAIL PROTECTED]> To: avr-gcc-list@nongnu.org Sent: Thu, 10 Apr 2008 10:52 am Subject: [avr-gcc-list] Odd prologue for ATmega256x in WinAVR20080407 Hi all, I've noticed an odd prologue being generated in WinAVR 20080407. This is for an ATmega2560 and is with optimization set at -O0: vTaskPlaceOnEventList: .LFB22: .LM242: DF93 push r29 CF93 push r28 00D0 rcall . 00D0 rcall . CDB7 in r28,__SP_L__ DEB7 in r29,__SP_H__ /* prologue: function */ /* frame size = 6 */ What does the double "rcall ." do? It seems to work, sorta, but it's weird. The generated epilogue seems to match the old (WinAVR20071221) version. Best regards, Stu Bell DPHI, Inc. (DataPlay) _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list