gcc/
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr18908.c
blob3707efe36c37d118f308c082889f8114f727cd30
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-forwprop1" } */
4 _Bool f3(_Bool *p) { *p ^= 1; }
6 /* We should be able to canonicalize the above to use bitwise not. */
7 /* { dg-final { scan-tree-dump "~\[^\n\r\]*_.;" "forwprop1" } } */
8 /* { dg-final { scan-tree-dump-not "\\\^ 1" "forwprop1" } } */
9 /* { dg-final { cleanup-tree-dump "forwprop1" } } */