* gcc.target/i386/pr55845.c (foo): Remove unneeded initialization.

From-SVN: r195029
This commit is contained in:
Uros Bizjak 2013-01-08 19:38:30 +01:00
parent c6d851b95a
commit 8158c65703
1 changed files with 4 additions and 3 deletions

View File

@ -12,8 +12,10 @@ foo (int size, double *y, double *x)
{
double sum = 0.0;
int i;
for (i = 0, sum = 0.; i < size; i++)
for (i = 0; i < size; i++)
sum += y[i] * x[i];
return sum;
}
@ -21,8 +23,7 @@ static void
__attribute__ ((noinline))
avx_test ()
{
double x[N];
double y[N];
double x[N], y[N];
double s;
int i;