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" } } */ 9/* { dg-final { cleanup-tree-dump "forwprop1" } } */ 10