modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr71109.c (about)

     1  /* PR tree-optimization/71109 */
     2  
     3  struct S { int g, h; signed char i; int j; signed char k; int l[4]; } a, c;
     4  struct T { signed char g; } e;
     5  int *b, d;
     6  static void foo ();
     7  
     8  void
     9  bar (void)
    10  {
    11    while (d)
    12      {
    13        int k;
    14        struct T f[3];
    15        foo (bar, a);
    16        for (k = 0;; k++)
    17  	f[k] = e;
    18      }
    19  }
    20  
    21  static inline void
    22  foo (int x, struct S y, struct T z)
    23  {
    24    for (z.g = 2; z.g; z.g--)
    25      {
    26        c = a = y;
    27        *b |= 6;
    28        if (y.g)
    29  	break;
    30      }
    31  }