summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr33329.c
blob: bb589ee2780cb4cd248cff3e8a598737c30786e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-vectorize -msse2" } */

extern void g (int *);

void f (void)
{
  int tabs[8], tabcount;

  for (tabcount = 1; tabcount <= 8; tabcount += 7)
    {
      int i;
      for (i = 0; i < 8; i++)
	tabs[i] = i * 2;
      g (tabs);
    }
}