PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-xor-1.c
bloba7d05524cf6fde306003f7abf2c80499a712e9c0
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-gimple" } */
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 "gimple" } } */