2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / binop-xor4.c
blobf87950a3335c344029434eb347e79ab801067b3a
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 int
5 foo (int a, int b, int c)
7 return ((a & ~b) | (~a & b)) & c;
10 /* We expect to see "<bb N>"; confirm that, so that we know to count
11 it in the real test. */
12 /* { dg-final { scan-tree-dump-times "<bb\[^>\]*>" 1 "optimized" } } */
13 /* { dg-final { scan-tree-dump-times "\\\^" 1 "optimized" } } */
14 /* { dg-final { cleanup-tree-dump "optimized" } } */