(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arm/
pr65647-2.c
       1  /* { dg-do compile } */
       2  /* { dg-require-effective-target arm_arch_v6_arm_ok } */
       3  /* { dg-options "-O3 -marm -march=armv6 -std=c99" } */
       4  
       5  typedef struct {
       6    int i;
       7  } x264_union32_t;
       8  typedef struct {
       9    int level_idx;
      10  } trellis_node_t;
      11  int a, c, d, f, h, i = (int)&c;
      12  trellis_node_t b[1][1];
      13  short *e = 0;
      14  short g;
      15  void fn1() {
      16    int k[64 * 8 * 2];
      17    trellis_node_t *l = b[0];
      18    for (; i >= d; i--) {
      19      if (e[i]) {
      20        for (int j = 1; j < 8; j++) {
      21          ((x264_union32_t *)&k[a])->i = l[j].level_idx;
      22          l[j].level_idx = a;
      23          a++;
      24        }
      25        continue;
      26      }
      27      for (int j;; j++)
      28        ;
      29    }
      30    int m[6] __attribute__((aligned(16)));
      31    for (; h; h++, f++)
      32      g = m[h];
      33  }