10 #pragma disable_warning 127
19 array
[i
++] = (uintptr_t)(p
);
22 void f1(uintptr_t base
, const char *message
)
24 for(; *message
; message
++)
25 g((const void *)(base
+ *message
* 8));
28 void f2(uintptr_t base
, const char *message
)
30 for(; *message
; message
++)
32 volatile uintptr_t tmp
= base
+ *message
* 8;
33 g((const void *)(tmp
));
39 char a
[] = {10, 20, 30, 40, 0};
44 ASSERT(array
[0] == 10 * 8);
45 ASSERT(array
[1] == 20 * 8);
46 ASSERT(array
[2] == 30 * 8);
47 ASSERT(array
[3] == 40 * 8);
52 ASSERT(array
[0] == 10 * 8);
53 ASSERT(array
[1] == 20 * 8);
54 ASSERT(array
[2] == 30 * 8);
55 ASSERT(array
[3] == 40 * 8);