2 pr49419.c from the execute part of the gcc torture tests.
9 #pragma disable_warning 85
12 /* PR tree-optimization/49419 */
14 struct S
{ int w
, x
, y
; } *t
;
16 #ifndef __SDCC_pdk14 // Lack of memory
18 foo (int n
, int f
, int *s
, int m
)
23 for (x
= n
, i
= 0; t
[x
].w
== f
&& i
< m
; i
++)
28 for (x
= n
; i
> 0; i
--)
39 testTortureExecute (void)
41 #ifndef __SDCC_pdk14 // Lack of memory
43 struct S buf
[3] = { { 1, 1, 2 }, { 0, 0, 0 }, { 0, 0, 0 } };
45 if (foo (0, 1, s
, 3) != 2)
47 if (s
[0] != 1 || s
[1] != 2)