------- Comment #1 from paolo dot carlini at oracle dot com 2010-02-06 10:15 ------- Your testcase doesn't even compile:
42983.C: In function int main(): 42983.C:15:15: error: cannot convert B to A* in initialization -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID Summary|[c++0x] Unvirtualzation of |[c++0x] Unvirtualization of |virtual destructor |virtual destructor http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42983