------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-03-13 19:10 ------- even smaller testcase: ------------------------------------------------------------------------------ namespace std { class locale { public: locale(); ~locale(); }; }
struct B { std::locale _M_buf_locale; virtual ~B() {} }; struct C : public B { char *s; }; void foo () { C c; } int main() { foo (); return 0; } ------------------------------------------------------------------------------ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20458