URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [macho-lo-sum.c] - Rev 325
Go to most recent revision | Compare with Previous | Blame | View Log
/* { 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]; }
Go to most recent revision | Compare with Previous | Blame | View Log