aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr61634.c
blob: fa49cec7609d8a39113a4f9bb6e3d07a99b58540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* { dg-do compile } */

int a, b, c, d;
short *e;
void fn1 (int p1[], int p2, int p3[], int p4[], int p5[], int *p6)
{
  int f;
  c = *p1;
  d = *p5;
  (void)p6;
  for (; a; a--)
    {
      f = *e >> 2;
      *e++ = f;
      b += f * f;
      f = *e >> 2;
      *e++ = f;
    }
  p4[0] = p3[0];
  for (;; p2--)
    ;
}