projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 4.8.1
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr46843.c
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fschedule-insns" } */
3
4
void foo (double *d1, double *u1, double *u2, double *d2, int s, int j, int i)
5
{
6
int n = 1 << s;
7
double x = 0;
8
9
for (; j < n; j++)
10
x += d1[j] * d2[i];
11
d1[i] = x;
12
}