[Bug c/70407] alignment of array elements is greater than element size

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 29 09:09:00 GMT 2016


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |documentation
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-03-29
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed as a documentation issue.  Note that

typedef struct S_ { short f[3] __attribute((aligned(8))); } S;

works (and increases sizeof (S_)).


More information about the Gcc-bugs mailing list