1 /* PR tree-optimization/81555 */ 2 3 unsigned int a = 1, d = 0xfaeU, e = 0xe376U; 4 _Bool b = 0, f = 1; 5 unsigned char g = 1; 6 7 void foo(void)8foo (void) 9 { 10 _Bool c = a != b; 11 if (c) 12 f = 0; 13 if (e & c & (unsigned char)d & c) 14 g = 0; 15 } 16 17 int main()18main () 19 { 20 foo (); 21 if (f || g != 1) 22 __builtin_abort (); 23 return 0; 24 } 25