Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/binop-xor4.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-do compile } */ | |
2 /* { dg-options "-O2 -fdump-tree-optimized" } */ | |
3 | |
4 int | |
5 foo (int a, int b, int c) | |
6 { | |
7 return ((a & ~b) | (~a & b)) & c; | |
8 } | |
9 | |
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" } } */ |