2 pr63302.c from the execute part of the gcc torture tests.
11 /* PR tree-optimization/63302 */
13 #if LLONG_MAX == 9223372036854775807ll
18 __attribute__((noinline
, noclone
)) int
21 __int128 v
= x
& (((__int128
) -1 << 63) | 0x7ff);
23 return v
== 0 || v
== ((__int128
) -1 << 63);
28 __attribute__((noinline
, noclone
)) int
31 long long v
= x
& (((long long) -1 << 31) | 0x7ff);
33 return v
== 0 || v
== ((long long) -1 << 31);
38 testTortureExecute (void)
45 || foo ((__int128
) 1 << 63) != 0
46 || foo ((__int128
) -1 << 63) != 1
47 || foo (((__int128
) -1 << 63) | 1) != 0
48 || foo (((__int128
) -1 << 63) | 0x800) != 1
49 || foo (((__int128
) -1 << 63) | 0x801) != 0)
57 || bar (1LL << 31) != 0
58 || bar (-1LL << 31) != 1
59 || bar ((-1LL << 31) | 1) != 0
60 || bar ((-1LL << 31) | 0x800) != 1
61 || bar ((-1LL << 31) | 0x801) != 0)