[Bug c/85985] GCC >= 5.6 unaligned movaps
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 29 19:56:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85985
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Valentin Petrov from comment #3)
> Thanks, just to clarify. Do I understand correctly that the alignment
> requirement for bbb comes from __attribute__ (aligned) in aaa ?? (attribute
> makes a3 to be aligned, which makes aaa to be 64b aligned, which makes bbb
> 64b aligned) ?
>
> Is this correct logic?
YES. C11 added _Alignof to see what the alignment is required.
More information about the Gcc-bugs
mailing list