https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102984
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #1) > I think this is a user error, I don't think the standard allocator > guarantees such alignment, you'd need to use your own allocator for the > container. It has to work since C++17.