PR tree-optimization/81384 - built-in form of strnlen missing
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr81556.c
blobcfbc75f861a51279ad20c87aaefa5a33125e665c
1 /* PR tree-optimization/81556 */
3 unsigned long long int b = 0xb82ff73c5c020599ULL;
4 unsigned long long int c = 0xd4e8188733a29d8eULL;
5 unsigned long long int d = 2, f = 1, g = 0, h = 0;
6 unsigned long long int e = 0xf27771784749f32bULL;
8 __attribute__((noinline, noclone)) void
9 foo (void)
11 _Bool a = d > 1;
12 g = f % ((d > 1) << 9);
13 h = a & (e & (a & b & c));
16 int
17 main ()
19 foo ();
20 if (g != 1 || h != 0)
21 __builtin_abort ();
22 return 0;