1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -fdump-tree-forwprop1" } */ 3 4 _Bool foo(_Bool a,_Bool b,_Bool c)5foo (_Bool a, _Bool b, _Bool c) 6 { 7 _Bool r1 = a == 0 & b != 0; 8 _Bool r2 = b != 0 & c == 0; 9 return (r1 == 0 & r2 == 0); 10 } 11 12 /* { dg-final { scan-tree-dump-times " == " 0 "forwprop1" } } */ 13 /* { dg-final { scan-tree-dump-times " != " 0 "forwprop1" } } */ 14