* gcc.c-torture/compile/20000717-1.c: New test.

From-SVN: r35084
This commit is contained in:
Jeffrey A Law 2000-07-17 09:12:44 +00:00 committed by Jeff Law
parent e21239a3df
commit 9f759236eb
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Mon Jul 17 03:13:12 2000 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/20000717-1.c: New test.
2000-07-17 Geoffrey Keating <geoffk@cygnus.com>
* gcc.c-torture/execute/20000717-2.c: New test.

View File

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