PR target/55146
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr33369.c
blob1aaf4e366e205d87477c93fe49ad74018ce089df
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3 /* { dg-require-effective-target vect_shift } */
5 typedef struct tagPOINT
7 int x;
8 int y;
9 } POINT;
11 void
12 f (POINT * ptBuf)
14 int i;
15 for (i = 0; i < 4; i++)
17 ptBuf[i].x = ((ptBuf[i].x) << 4);
18 ptBuf[i].y = ((ptBuf[i].y) << 4);
22 /* { dg-final { cleanup-tree-dump "vect" } } */