2 pr88693.c from the execute part of the gcc torture tests.
7 /* PR bootstrap/88714 */
9 struct S
{ int a
, b
, c
; int *d
; };
10 struct T
{ int *e
, *f
, *g
; } *t
= 0;
13 void bar (int *x
, int y
, int z
, int w
)
17 if (x
!= 0 || y
!= 0 || z
!= 0)
20 else if (w
!= 0 || x
!= t
->g
|| y
!= 0 || z
!= 12)
25 foo (struct S
*x
, struct S
*y
, int *z
, int w
)
32 y
->c
= y
->c
+ y
->d
[0];
33 bar (t
->g
, 0, y
->c
, 0);
37 testTortureExecute (void)
39 #ifndef __SDCC_pdk14 // Lack of RAM
40 int a
[4] = { 8, 9, 10, 11 };
41 struct S s
= { 1, 2, 3, &a
[0] };
42 struct T u
= { 0, 0, &a
[3] };
45 foo (&s
, &s
, &a
[1], 5);
46 if (s
.c
!= 12 || s
.d
!= &a
[1])