https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120504
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- I assume it's the type_build_dtor_call call that causes the problem, and probably removing lines 238-245 in semantics.cc would fix it. But Jason might know how to preserve the new check without the unwanted side effects so let's wait for him to see this.