Debian Codegraph @

gcc/testsuite/gcc.dg/vect/pr96920.c

raw
1 /* { dg-do compile } */
2
3 int a[1024];
4 int b[2048];
5
6 void foo (int x, int y)
7 {
8 for (int i = 0; i < 1024; ++i)
9 {
10 int tem0 = b[2*i];
11 int tem1 = b[2*i+1];
12 for (int j = 0; j < 32; ++j)
13 {
14 int tem = tem0;
15 tem0 = tem1;
16 tem1 = tem;
17 a[i] += tem0;
18 }
19 }
20 }