https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117154
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Why should access to a protected destructor be different to access to a protected constructor? It's obviously related (and Richard Smith aid so in the llvm issue too).