* gcc.dg/const-elim-1.c: Remove xfail for xtensa-*-*.
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-xor-1.c
blobc8334e1875afef4d07ef2ffa6b70b0542247bc42
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-generic" } */
4 int f (int a, int b) {
5 return ~a ^ ~b;
8 unsigned int g (unsigned int a, unsigned int b) {
9 return ~a ^ ~b;
11 /* { dg-final { scan-tree-dump-times "a \\^ b" 2 "generic" } } */
12 /* { dg-final { cleanup-tree-dump "generic" } } */