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