]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/pr18908.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr18908.c
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-forwprop1" } */
3
4 _Bool f3(_Bool *p) { *p ^= 1; }
5
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" } } */