This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: p2736.C Is dtor order guaranteed?
- To: martin at mira dot isdn dot cs dot tu-berlin dot de
- Subject: Re: p2736.C Is dtor order guaranteed?
- From: mrs at wrs dot com (Mike Stump)
- Date: Wed, 22 Jul 1998 18:45:29 -0700
- Cc: egcs at cygnus dot com
> 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.