https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115476
--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2024-June/654985.html but I'm not changing __has_trivial_destructor in that patch. That and its kin are extensions: https://gcc.gnu.org/onlinedocs/gcc/Type-Traits.html and I'm not sure I should be changing them. (It appears some of the __has_* built-ins may be deprecated: bug 106085.)