https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119064

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Actually, std::trivially_relocate is not constexpr and std::relocate, while
constexpr, documents that if consteval it performs always the move construction
+ destruction of each elt.  As we don't do the vtbl signing, I think it might
be perfectly fine to use
#if __has_builtin (__builtin_trivially_relocate)
use __builtin_trivially_relocate for clang or if GCC ever decides to do vtbl
signing
#else
__builtin_memmove (...);
#endif

Reply via email to