Skip to content

Use proper padding instead of using alignas()

As it was pointed out, the alignas() can't be used on objects larger than max_align_t otherwise the compiler might miscompile the code to use auto-vectorization on unaligned memory.

As we were only using alignas() as a way to prevent false memory sharing, we can use manual padding in the affected structures.

Closes #4187 (closed)

Merge request reports