PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr18908.c
blobfd8ce425a86e598a2223ce1fb5a8e48363306110
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" } } */