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