2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr65647-2.c
blobf2985f8eaedefd242f2a28ca5abe4c2b302af101
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -marm -march=armv6 -std=c99" } */
4 typedef struct {
5 int i;
6 } x264_union32_t;
7 typedef struct {
8 int level_idx;
9 } trellis_node_t;
10 int a, c, d, f, h, i = (int)&c;
11 trellis_node_t b[1][1];
12 short *e = 0;
13 short g;
14 void fn1() {
15 int k[64 * 8 * 2];
16 trellis_node_t *l = b[0];
17 for (; i >= d; i--) {
18 if (e[i]) {
19 for (int j = 1; j < 8; j++) {
20 ((x264_union32_t *)&k[a])->i = l[j].level_idx;
21 l[j].level_idx = a;
22 a++;
24 continue;
26 for (int j;; j++)
29 int m[6] __attribute__((aligned(16)));
30 for (; h; h++, f++)
31 g = m[h];