* config/i386/i386.md (paritydi2, paritysi2): New expanders.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr24306.c
blob61aca39ac0c0eb443e6381815c7c9d78ff6e5886
1 /* { dg-do run } */
2 /* { dg-options "-msse" } */
4 extern void abort(void);
5 typedef int __attribute__ ((vector_size (16))) foo_t;
7 struct s
9 foo_t f[0];
10 } s1;
12 void
13 check (int x, ...) __attribute__((noinline));
14 void
15 check (int x, ...)
17 int y;
18 __builtin_va_list ap;
20 __builtin_va_start (ap, x);
21 __builtin_va_arg (ap, struct s);
22 y = __builtin_va_arg (ap, int);
24 if (y != 7)
25 abort ();
28 int main()
30 check (3, s1, 7);
31 return 0;