1 /* PR rtl-optimization/70222 */ 2 3 int a = 1; 4 unsigned int b = 2; 5 int c = 0; 6 int d = 0; 7 8 void foo()9foo () 10 { 11 int e = ((-(c >= c)) < b) > ((int) (-1ULL >> ((a / a) * 15))); 12 d = -e; 13 } 14 15 __attribute__((noinline, noclone)) void bar(int x)16bar (int x) 17 { 18 if (x != -1) 19 __builtin_abort (); 20 } 21 22 int main()23main () 24 { 25 #if __CHAR_BIT__ == 8 && __SIZEOF_INT__ == 4 && __SIZEOF_LONG_LONG__ == 8 26 foo (); 27 bar (d); 28 #endif 29 return 0; 30 } 31