2 pr19606.c from the execute part of the gcc torture tests.
11 #if !defined (__SDCC_pic14) && !defined(__SDCC_pdk14) // Lack of memory
12 #if !(defined (__SDCC_pdk15) && defined(__SDCC_STACK_AUTO)) // Lack of code memory
14 The C front end used to shorten the type of a division to a type
15 that does not preserve the semantics of the original computation.
16 Make sure that won't happen. */
23 return ((unsigned int) (signed int) a
) / 2LL;
29 return ((unsigned int) (signed int) a
) % 5LL;
35 testTortureExecute (void)
37 #if !defined (__SDCC_pic14) && !defined(__SDCC_pdk14) // Lack of memory
38 #if !(defined (__SDCC_pdk15) && defined(__SDCC_STACK_AUTO)) // Lack of code memory
39 #if !defined (PORT_HOST) // failed in test-host
43 if (r
!= ((unsigned int) (signed int) (signed char) -4) / 2LL)
47 if (r
!= ((unsigned int) (signed int) (signed char) -4) % 5LL)