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

--- Comment #1 from Aaron Greig <aaron.greig at codeplay dot com> ---
actually it seems that vector_size(16) creates a type that is over aligned, the
following assert fails:

static_assert(std::alignment_of<int4>::value <= alignof(max_align_t), "over
aligned!");

so I think I should have been using a custom allocator in the std::vector? It
might be worth considering generating a warning for such cases

Reply via email to