blob: 9e0b8656c235bf6c1e052bc899374e657eccdbe0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-options "-O2 -mpowerpc64 -mdynamic-no-pic" } */
long long knight_attacks[64];
long long InitializeAttackBoards(void);
int main()
{
return InitializeAttackBoards();
}
long long InitializeAttackBoards(void)
{
int i,j;
for(i=0;i<64;i++) { }
for(i=0;i<64;i++) {
knight_attacks[i]=0;
for(j=0;j<8;j++) {
knight_attacks[i]= 0;
}
}
return knight_attacks[0];
}
|