PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr55141.c
bloba4577559939e0aad4b16088e74eded6c28d2a291
1 /* { dg-do run } */
2 /* { dg-options "-O -fno-split-wide-types" } */
4 typedef struct
6 long int p_x, p_y;
7 } Point;
9 static __attribute__ ((noinline, noclone))
10 void foo (Point p0, Point p1, Point p2, Point p3)
12 if (p0.p_x != 1
13 || p1.p_x != 3
14 || p2.p_x != 5
15 || p3.p_x != 7)
16 __builtin_abort ();
19 int
20 main (int argc, char *argv[])
22 Point p0, p1, p2, p3, p4, p5;
23 p0.p_x = 1;
24 p1.p_x = 3;
25 p2.p_x = 5;
26 p3.p_x = 7;
27 foo (p0, p1, p2, p3);
28 return 0;