111
|
1 /* { dg-do compile } */
|
|
2 /* { dg-require-effective-target section_anchors } */
|
|
3 /* { dg-require-effective-target vect_int } */
|
|
4
|
|
5 #include <stdarg.h>
|
|
6 #include "tree-vect.h"
|
|
7
|
|
8 #define N 32
|
|
9
|
|
10 static int a[N][N];
|
|
11 static int b[N][N];
|
|
12 static int c[N][N];
|
|
13
|
|
14 void clobber(int *);
|
|
15
|
|
16 int *foo(void)
|
|
17 {
|
|
18 int i;
|
|
19 int j;
|
|
20
|
|
21 clobber (&a[0][0]);
|
|
22 clobber (&b[0][0]);
|
|
23 clobber (&c[0][0]);
|
|
24
|
|
25 for (i = 0; i < N; i++) {
|
|
26 for (j = 0; j < N; j++) {
|
|
27 c[j][i] += a[j][i] + c[j][i];
|
|
28 }
|
|
29 }
|
|
30 return &c[0][0];
|
|
31 }
|
|
32
|
|
33 /* { dg-final { scan-ipa-dump-times "Increasing alignment of decl" 3 "increase_alignment" } } */
|