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