PR tree-optimization/81384 - built-in form of strnlen missing
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr82192.c
blob9e56e203c840bfbd74b423952e1e4046efadbd2e
1 /* PR rtl-optimization/82192 */
3 unsigned long long int a = 0x95dd3d896f7422e2ULL;
4 struct S { unsigned int m : 13; } b;
6 __attribute__((noinline, noclone)) void
7 foo (void)
9 b.m = ((unsigned) a) >> (0x644eee9667723bf7LL
10 | a & ~0xdee27af8U) - 0x644eee9667763bd8LL;
13 int
14 main ()
16 if (__INT_MAX__ != 0x7fffffffULL)
17 return 0;
18 foo ();
19 if (b.m != 0)
20 __builtin_abort ();
21 return 0;