1/* { dg-do compile } */
2/* { dg-options "-O -mno-avx -Wno-psabi -mtune=generic" } */
3
4struct A { long b[8] __attribute__((aligned (32))); };
5
6void
7foo (long double x, struct A y)
8{
9  int i;
10  if (x != 8.0L)
11    __builtin_abort ();
12  for (i = 0; i < 8; i++)
13    if (y.b[i] != i)
14      __builtin_abort ();
15}
16