struct foo { int i; char c; int j; } __attribute__ ((packed)); struct foo bar; struct foo baz __attribute__ ((aligned(8))); int main (void) { struct foo tmp; sub (tmp); sub (bar); sub (baz); }