summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr31041.c
blob: 361b358b8790886e207bc3dd9cd2adb233d44101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* { dg-do compile } */
/* { dg-require-effective-target vect_int } */

#include <stdarg.h>
#include "tree-vect.h"

struct UNewTrie
{
  int index[(0x110000 >> 1)];
};
typedef struct UNewTrie UNewTrie;
utrie_open_3_4 ()
{
  UNewTrie *trie;
  int i, j;
    {
      i = 0;
      do
        {
          trie->index[i++] = j;
          j += 1;
        }
      while (i < 5);
    }
}
/* { dg-final { cleanup-tree-dump "vect" } } */