PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr70222-1.c
blobd79672e7fb4c5efeafc38819af2ec233ea5b8625
1 /* PR rtl-optimization/70222 */
3 int a = 1;
4 unsigned int b = 2;
5 int c = 0;
6 int d = 0;
8 void
9 foo ()
11 int e = ((-(c >= c)) < b) > ((int) (-1ULL >> ((a / a) * 15)));
12 d = -e;
15 __attribute__((noinline, noclone)) void
16 bar (int x)
18 if (x != -1)
19 __builtin_abort ();
22 int
23 main ()
25 #if __CHAR_BIT__ == 8 && __SIZEOF_INT__ == 4 && __SIZEOF_LONG_LONG__ == 8
26 foo ();
27 bar (d);
28 #endif
29 return 0;