2 991016-1.c from the execute part of the gcc torture tests.
11 /* Two of these types will, on current gcc targets, have the same
12 mode but have different alias sets. DOIT tries to get gcse to
13 invalidly hoist one of the values out of the loop. */
15 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16) && !defined(__SDCC_pdk14)
21 doit(int sel
, int n
, void *p
)
54 testTortureExecute (void)
56 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16) && !defined(__SDCC_pdk14)
59 v0
= 1; doit(0, 5, &v0
);
60 v1
= 1; doit(1, 5, &v1
);
61 v2
= 1; doit(2, 5, &v2
);
63 if (v0
!= 32) ASSERT (0);
64 if (v1
!= 32) ASSERT (0);
65 if (v2
!= 32) ASSERT (0);