[Bug c/82105] unexpected padding in a struct

dudu.arbel at ilrd dot co.il gcc-bugzilla@gcc.gnu.org
Sun Sep 10 12:19:00 GMT 2017


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

--- Comment #9 from Dudu <dudu.arbel at ilrd dot co.il> ---
So, Andreas, why this struct's size is 16?
typedef struct 
{
    long x:16;
    int y:17;
    short z;
} SizeofThisIs16;


More information about the Gcc-bugs mailing list