https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93240
Roman Lebedev <lebedev.ri at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |--- Summary|[frontend] 'align_value' |[frontend] 'align_value' |attribute not honored to |attribute not suported |variables in types | --- Comment #3 from Roman Lebedev <lebedev.ri at gmail dot com> --- (In reply to Andrew Pinski from comment #1) > align_value does not exist in GCC at all. Oh interesting, i missed that somehow. > you want aligned. > > https://gcc.gnu.org/onlinedocs/gcc-9.2.0/gcc/Common-Type-Attributes. > html#Common-Type-Attributes I really don't think i do. From that description it is evident that it would *not* specify the alignment of &(s->y[0]), but of &(s->y). (In reply to Andrew Pinski from comment #2) > Or you suggesting GCC should add it? > > https://reviews.llvm.org/D4635 Then i suppose so, yes. > Why not use __builtin_assume_aligned instead?