https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83487
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Adjusted testcase, so that it is valid C and C++: struct __attribute__ ((aligned)) A {}; struct A a; void bar (int, int, int, int, int, int, int, struct A); void foo (void) { bar (6, 0, 1, 2, 3, 4, 5, a); }