This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to allow strlen expander to fail
- To: Jeffrey A Law <law at cygnus dot com>
- Subject: Re: Patch to allow strlen expander to fail
- From: Jamie Lokier <jamie dot lokier at cern dot ch>
- Date: Fri, 10 Mar 2000 20:20:48 +0100
- Cc: "Brian R. Gaeke" <brg at sartre dot dgate dot ORG>, gcc at gcc dot gnu dot org
- References: <20000310090713.A20157@celes.dgate.ORG> <6551.952712099@upchuck>
Jeffrey A Law wrote:
> The __main is not a hosted vs non-hosted issue -- the behavior of the
> compiler is correct. __main is critical for the proper behavior of
> ctors/dtors which are 100% independent of the hosted vs non-hosted
> environment.
Does the __main mechanism work at all for a freestanding environment?
Part of the definition of freestanding is that the program isn't
necessarily entered at main.
-- Jamie