1 /* { dg-do run } */
2 /* { dg-options "-O -fno-split-wide-types" } */
3
4 typedef struct
5 {
6 long int p_x, p_y;
7 } Point;
8
9 static __attribute__ ((noinline, noclone))
foo(Point p0,Point p1,Point p2,Point p3)10 void foo (Point p0, Point p1, Point p2, Point p3)
11 {
12 if (p0.p_x != 1
13 || p1.p_x != 3
14 || p2.p_x != 5
15 || p3.p_x != 7)
16 __builtin_abort ();
17 }
18
19 int
main(int argc,char * argv[])20 main (int argc, char *argv[])
21 {
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;
29 }
30