(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
uninit-23.c
       1  /* PR tree-optimization/78455 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2 -Wuninitialized" } */
       4  
       5  int ij;
       6  
       7  void
       8  ql (void)
       9  {
      10    int m5 = 0;
      11  
      12    for (;;)
      13    {
      14      if (0)
      15        for (;;)
      16        {
      17          int *go;
      18          int *t4 = go; /* { dg-warning "is used uninitialized" } */
      19  
      20   l1:
      21          *t4 = (*t4 != 0) ? 0 : 2; /* { dg-warning "is used uninitialized" } */
      22        }
      23  
      24      if (ij != 0)
      25        goto l1;
      26    }
      27  }