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