re PR c++/49605 (-Wdelete-non-virtual-dtor is not picky enough)
authorJonathan Wakely <jwakely.gcc@gmail.com>
Fri, 1 Jul 2011 22:24:42 +0000 (22:24 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 1 Jul 2011 22:24:42 +0000 (23:24 +0100)
commite2ab8a0f88198a43c90cef65f1701beaaa98f525
treec3f4f9dfba06a6b896621c34a9ba015466d79032
parent2eb223898126713d0077e44eb78a66f2553557bb
re PR c++/49605 (-Wdelete-non-virtual-dtor is not picky enough)

2011-07-01  Jonathan Wakely  <jwakely.gcc@gmail.com>

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

From-SVN: r175771
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/delete-non-virtual-dtor.C