8sa1-gcc/gcc/testsuite/gcc.c-torture/compile/20000717-1.c
2000-07-17 03:12:44 -06:00

12 lines
142 B
C

short
inner_product (short *a, short *b)
{
int i;
short sum = 0;
for (i = 9; i >= 0; i--)
sum += (*a++) * (*b++);
return sum;
}