https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102984
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |redi at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- 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.