2 920922-1.c from the execute part of the gcc torture suite.
14 unsigned long a
= (*p
++) >> 24;
19 testTortureExecute (void)
21 // Incrementing pointers that far past the object is undefined behaviour and mcs51 indeed does the addition differently here (where it knows &x points to the stack) than in f.
22 #if !(defined(__SDCC_mcs51) && defined(__SDCC_STACK_AUTO)) && !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15)
23 unsigned long x
= 0x80000000UL
;
24 if (f(&x
) != &x
+ 0x81)