blob: 9979cbd01f78c99e184dd5d63f7f574111be5866 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* { dg-do compile } */
/* { dg-require-effective-target vect_shift } */
typedef struct tagPOINT
{
int x;
int y;
} POINT;
void
f (POINT * ptBuf)
{
int i;
for (i = 0; i < 4; i++)
{
ptBuf[i].x = ((ptBuf[i].x) << 4);
ptBuf[i].y = ((ptBuf[i].y) << 4);
}
}
/* { dg-final { cleanup-tree-dump "vect" } } */
|