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

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Alexey Lapshin from comment #7)
> It looks like this fix makes alignment of atomic object to be the same as
> alignment of integral non-atomic object of the same size.

That was the intention, yes. Because I understood that to be what _Atomic does.

> The gcc behavior is different it makes alignment of atomic objects of sizes
> 1,2,4,8,16 to match with size :

Oh.

Reply via email to