[patch] Re: Wrong destruction order of static objects in g++

Alexandre Oliva oliva@dcc.unicamp.br
Thu Jun 4 14:03:00 GMT 1998


Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de> writes:

> James Kanze (jkanze@otelo.ibmmail.com) has given me a nice test case
> which shows that egcs (and gcc-2.7.2) get the destruction order of
> static objects wrong.

> Is there a way in the old-deja framework to compare the output of a
> program to a default?

I don't think so, but it's easy to work around this problem.  Here's a 
patch that adds this test case.

BTW, it is ok to Bcc to egcs-patches?  I didn't this time, in fear
that someone that handles patches uses a tool such as Gnus or procmail
for classifying mail; if I had Bcc'ed to egcs-patches, they would
probably be unable to notice that.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init5.diff
Type: text/x-diff
Size: 785 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19980604/d642305a/attachment.bin>


More information about the Gcc-bugs mailing list