avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] maga256 patch for GCC 4.2


From: Harald Kipp
Subject: Re: [avr-gcc-list] maga256 patch for GCC 4.2
Date: Thu, 03 May 2007 11:17:33 +0200
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

Anatoly,

I understood your arguments against taking main() as a normal function. But I do not understand...

1. ...why this implies to modify the stack pointer on entry. This spoils any the stack pointer modification in the .init segment. 2. ...your statement about "In oficial GCC 4.x main() do not converted to a normal function." I'm sure that in official GCC main() is always a subroutine and always returns an int.

Harald

Anatoly Sokolov schrieb:
PS: "main as normal function" part removed from 'mega256' patch. You can find patch in savannah bug record #19050: http://savannah.nongnu.org/bugs/?19050. (main-as-normal.diff )






reply via email to

[Prev in Thread] Current Thread [Next in Thread]