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?


Hi, Alexandre.

> > 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.

I'm confused.   If egcs can't currently handle init5.C, how does this
tell us anything new?

Since this and init1.C fail only on COFF, the non-default mode, I think
I'm just going to punt on them.  I've spent several hours trying to pick
through what's happening and have no good clues so far.

Thanx for the help.
RJL


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