Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/binop-xor4.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 (2017-10-27) |
parents | |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ int foo (int a, int b, int c) { return ((a & ~b) | (~a & b)) & c; } /* We expect to see "<bb N>"; confirm that, so that we know to count it in the real test. */ /* { dg-final { scan-tree-dump-times "<bb\[^>\]*>" 1 "optimized" } } */ /* { dg-final { scan-tree-dump-times "\\\^" 1 "optimized" } } */