1/* PR rtl-optimization/70222 */ 2 3int a = 1; 4unsigned int b = 2; 5int c = 0; 6int d = 0; 7 8void 9foo () 10{ 11 int e = ((-(c >= c)) < b) > ((int) (-1ULL >> ((a / a) * 15))); 12 d = -e; 13} 14 15__attribute__((noinline, noclone)) void 16bar (int x) 17{ 18 if (x != -1) 19 __builtin_abort (); 20} 21 22int 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