[C++ PATCH] 79393 fix

Nathan Sidwell nathan@acm.org
Tue Mar 14 14:43:00 GMT 2017


On 03/13/2017 06:20 PM, Nathan Sidwell wrote:
> On 03/13/2017 05:05 PM, Jason Merrill wrote:
>
>> It looks like you're ignoring the access for all base destructors;
>> handling this in synthesized_method_base_walk would let you limit the
>> change to vbases with virtual destructors.  That function also already
>> handles ignoring access control for an inherited constructor.

Committed this.  It looked to me that the inheriting ctor case should be 
using dk_no_check rather than dk_deferring, given the comment.  But I 
didn't want to change that in this patch.

nathan

-- 
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdtor-79393-3.diff
Type: text/x-patch
Size: 3808 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170314/b2a7ac70/attachment.bin>


More information about the Gcc-patches mailing list