Debian Codegraph @

gcc/testsuite/gcc.dg/vect/pr33369.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3 /* { dg-require-effective-target vect_shift } */
4
5 typedef struct tagPOINT
6 {
7 int x;
8 int y;
9 } POINT;
10
11 void
12 f (POINT * ptBuf)
13 {
14 int i;
15 for (i = 0; i < 4; i++)
16 {
17 ptBuf[i].x = ((ptBuf[i].x) << 4);
18 ptBuf[i].y = ((ptBuf[i].y) << 4);
19 }
20 }
21