[Bug c/59259] [x32] Incorrect packing and/or alignment when using a 64 bit type as array of zero length in a structure

cjanderson at yandex dot com gcc-bugzilla@gcc.gnu.org
Wed Nov 27 11:42:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59259

cjanderson at yandex dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |UNCONFIRMED
         Resolution|INVALID                     |---

--- Comment #4 from cjanderson at yandex dot com ---
Sorry, this still troubles me. Isn't the last structure a pointer, ie:
struct blah entrytable[0];
is really just a pointer, and hence in most cases just an 32 bit value (I know
there are some tricks), but if it is a pointer then the alignment should surely
be the same as for ia32?



More information about the Gcc-bugs mailing list