Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / vect / aligned-section-anchors-nest-1.c
blob670e45491c3f6dc7102d5e08d1a54fa8b24bac57
1 /* { dg-do compile } */
2 /* { dg-require-effective-target section_anchors } */
3 /* { dg-require-effective-target vect_int } */
5 #include <stdarg.h>
6 #include "tree-vect.h"
8 #define N 32
10 static int a[N][N];
11 static int b[N][N];
12 static int c[N][N];
14 void clobber(int *);
16 int *foo(void)
18 int i;
19 int j;
21 clobber (&a[0][0]);
22 clobber (&b[0][0]);
23 clobber (&c[0][0]);
25 for (i = 0; i < N; i++) {
26 for (j = 0; j < N; j++) {
27 c[j][i] += a[j][i] + c[j][i];
30 return &c[0][0];
33 /* { dg-final { scan-ipa-dump-times "Increasing alignment of decl" 3 "increase_alignment" } } */
34 /* { dg-final { cleanup-ipa-dump "increase_alignment" } } */