This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug c++/17873] order of static destructors wrong


------- Additional Comments From bkoz at gcc dot gnu dot org  2004-10-07 03:08 -------
Actually, looks like 3.4.0 gets this right.

%./H-x86-gcc-3.4.0/bin/g++ -g -O2 -static ~/ordering_1.cc

%a.out
boo ctor
foo ctor
foo dtor
boo dtor


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17873


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