Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr65310.c
blob14053800ab8ce903ebeda3440caad026f5eace41
1 /* { dg-do compile } */
3 struct a
5 int a[100];
6 };
7 typedef struct a b __attribute__ ((aligned (32)));
8 typedef struct a c __attribute__ ((aligned (4)));
10 int t(b *a)
12 int i;
13 c *ptr = a;
14 for (i=0;i<100;i++)
15 ptr->a[i]++;
18 /* The memory access is through a pointer of type c which means
19 *ptr is not aligned. */
21 /* { dg-final { scan-tree-dump "can't force alignment" "vect" } } */
22 /* { dg-final { scan-tree-dump-not "misalign = 0" "vect" } } */