summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/920501-2.c
blob: 905f5ddb627d37d22e52ff1db32801d59eae209d (plain)
1
2
3
4
5
6
7
8
9
10
11
extern short distdata[64][64], taxidata[64][64];
extern short PieceList[2][64];

int
ScoreKBNK (short int winner, short int king1, short int king2)
{
  register short s;

  s = taxidata[king1][king2] + distdata[PieceList[winner][1]][king2];
  return s;
}