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