This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

Re: Question about __attribute__ ((construtor))


On Tue, Oct 21, 2003 at 05:04:09PM +0200, Jeroen Benckhuijsen wrote:
> Thanx for your input, it solved a lot of problems. The behaviour I
> experience now is that main() is called BEFORE all of the static
> initialization is done. It this also the way static initialization is
> handled? AFAIK main() isn't called till all of the static
> initializations are done.

If you think that this is a bug of the compiler then
please submit a bug report with a fully working test case
to reproduce the behaviour.  You can do so by using
http://gcc.gnu.org/bugzilla/

Information on how to submit a bug report can be found on
http://gcc.gnu.org/bugs.html

If you only seek help, then I am afraid that this is not
the appropriate forum.

Thanks,

-- 
Carlo Wood <carlo@alinoe.com>


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