[Bug c++/7302] -Wnon-virtual-dtor should't complain of protected dtor

2006-05-27 Thread ben at decadentplace dot org dot uk
--- Comment #8 from ben at decadentplace dot org dot uk 2006-05-27 15:30 --- Created an attachment (id=11520) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11520&action=view) proposed patch (with doc and test changes) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?

[Bug c++/7302] -Wnon-virtual-dtor should't complain of protected dtor

2006-05-27 Thread ben at decadentplace dot org dot uk
-- ben at decadentplace dot org dot uk changed: What|Removed |Added CC||ben at decadentplace dot org

[Bug c++/26755] [4.1 regression?] may fail to generate code for base destructor defined inline

2006-03-25 Thread ben at decadentplace dot org dot uk
-- ben at decadentplace dot org dot uk changed: What|Removed |Added CC||ben at decadentplace dot org

[Bug c++/26755] [4.1 regression?] may fail to generate code for base destructor defined inline

2006-03-25 Thread ben at decadentplace dot org dot uk
--- Comment #7 from ben at decadentplace dot org dot uk 2006-03-26 02:07 --- Here's a trivial test case: $ cat test.hpp #ifdef USE_PRAGMA #pragma interface #endif class foo { public: virtual ~foo() {} }; class bar : public foo { public : ~bar(); }; $ cat test.cpp #in