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?


Robert Lipe <robertl@dgii.com> writes:

> For COFF, the order is not reversed:

> init5.C is XFAILed on all targets so it never shows up in the testsuite
> as a failure.  If I manually run it, it aborts on both COFF and ELF.

So it is broken.  init5.C will test for this kind of misbehavior too,
but egcs can't currently handle destruction of local static variables
interspersed with global variables.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



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