2 20050111-1.c from the execute part of the gcc torture suite.
11 // Some ports do not yet support long long
12 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
14 /* PR middle-end/19084, rtl-optimization/19348 */
17 foo (unsigned long long x
)
23 u
= (unsigned int) (x
>> 32);
28 bar (unsigned short x
)
30 return (unsigned long long) x
<< 32;
35 testTortureExecute (void)
37 // Some ports do not yet support long long
38 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
40 if (sizeof (long long) != 8)
46 if (foo (0xffffffffULL
) != 0)
48 if (foo (0x25ff00ff00ULL
) != 0x25)
52 if (bar (0x25) != 0x2500000000ULL
)