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: p2736.C Is dtor order guaranteed?


> Date: Tue, 21 Jul 1998 21:07:16 +0200
> From: Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>

> > I thought it did on some targets as I recall.  I believe I put in some
> > code to chain them via atexit:

> The problem is that it does so only for non-toplevel statics. IMHO, it
> should be done for all statics.

No, all namespace variables, whether static or not.  Keyed into a
chain, one per loadable/unloadable module, not just one for exit time.


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