[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 10 21:49:00 GMT 2010



------- Comment #19 from jason at gcc dot gnu dot org  2010-02-10 21:48 -------
Subject: Bug 42983

Author: jason
Date: Wed Feb 10 21:48:35 2010
New Revision: 156672

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156672
Log:
        PR c++/42983, core issue 906
        * method.c (defaultable_fn_check): Check virtualness.
        * include/std/thread (~_Impl_base): Move default out of line.
        * libsupc++/nested_exception.h (~nested_exception): Likewise.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/method.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/defaulted15.C
    trunk/gcc/testsuite/g++.dg/cpp0x/defaulted9.C
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/thread
    trunk/libstdc++-v3/libsupc++/nested_exception.h
   
trunk/libstdc++-v3/testsuite/18_support/nested_exception/rethrow_if_nested.cc
   
trunk/libstdc++-v3/testsuite/18_support/nested_exception/throw_with_nested.cc


-- 


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



More information about the Gcc-bugs mailing list