On Sunday, 6 June 2021 at 18:57:06 UTC, Max Samukha wrote:
> 2) 'align' is mishandled
GCC's bugzilla won't let me register.
align(4)
struct S {
ubyte[4] bytes;
}
static assert (S.alignof == 4); // fail, S.alignof == 1
It's not specific to AVR. Worked around by placing 'align' inside
the struct.