This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49605] -Wdelete-non-virtual-dtor is not picky enough


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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-07-01 22:24:48 UTC ---
Author: redi
Date: Fri Jul  1 22:24:42 2011
New Revision: 175771

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175771
Log:
2011-07-01  Jonathan Wakely  <jwakely.gcc@gmail.com>

    PR c++/49605
    * init.c (build_delete): Only warn for sfk_deleting_destructor.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/init.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/warn/delete-non-virtual-dtor.C


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]