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: Patch to allow strlen expander to fail


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

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