gcc/testsuite/gcc.dg/tree-ssa/pr18908.c
raw| 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" } } */ |