This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: i386 stack missalignment on main


> On 30-Jul-2001, Jan Hubicka <jh@suse.cz> wrote:
> > It should work even for dirty hacks, such as recursive main
> > functions not allowed by standard anyway.
> 
> The C standard allows main() to be recursive.
> Only C++ forbids recursive main().
Oh, so good for me that it works :)
I believe to read it somewhere in C99, but I may be wrong.

Honza
> 
> -- 
> Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
> The University of Melbourne         |  of excellence is a lethal habit"
> WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]