2 20071210-1.c from the execute part of the gcc torture suite.
11 #if 0 // TODO: Enable when struct can be returned and sdc accepts the array init with && below.
12 /* PR rtl-optimization/34302 */
20 foo (int x
, int y
, int z
)
22 if (x
!= 10 || y
!= 9 || z
!= 8)
24 struct S s
= { 1, 2, 3, 4 };
29 bar (void **u
, int *v
)
34 static void *l
[] = { &&lab1
, &&lab1
, &&lab2
, &&lab3
, &&lab4
};
48 struct S r
= foo (x
, y
, z
);
67 testTortureExecute (void)
70 void **u
= bar ((void **) 0, (int *) 0);
71 void *t
[] = { u
[2], u
[4] };
72 int s
[] = { 7, 8, 9, 10, 11, 12 };
73 if (bar (t
, &s
[1]) != (void **) 0
74 || s
[0] != 4 || s
[1] != 3 || s
[2] != 2 || s
[3] != 1
75 || s
[4] != 11 || s
[5] != 12)