2 pr40057.c from the execute part of the gcc torture tests.
11 // TODO: Enable when sdcc supports long long in these ports!
12 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
13 /* PR middle-end/40057 */
16 foo (unsigned long long x
)
18 unsigned long long y
= (x
>> 31ULL) & 1ULL;
27 long long y
= (x
>> 31LL) & 1LL;
35 testTortureExecute (void)
37 #ifndef PORT_HOST // Fails on NetBSD
38 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
39 if (sizeof (long long) != 8)
41 if (foo (0x1682a9aaaULL
))
43 if (!foo (0x1882a9aaaULL
))
45 if (bar (0x1682a9aaaLL
))
47 if (!bar (0x1882a9aaaLL
))