OSDN Git Service

* gcc.dg/vect/vect-116.c: Add vect_int target requirement.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / vect / pr31041.c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3
4 #include <stdarg.h>
5 #include "tree-vect.h"
6
7 typedef int int32_t;
8 struct UNewTrie
9 {
10   int32_t index[(0x110000 >> 1)];
11 };
12 typedef struct UNewTrie UNewTrie;
13 utrie_open_3_4 ()
14 {
15   UNewTrie *trie;
16   int32_t i, j;
17     {
18       i = 0;
19       do
20         {
21           trie->index[i++] = j;
22           j += 1;
23         }
24       while (i < 5);
25     }
26 }
27 /* { dg-final { cleanup-tree-dump "vect" } } */