(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr61518.c
       1  /* { dg-do run } */
       2  
       3  int a, b, c[1], d, e, f;
       4  
       5  void
       6  fn1 ()
       7  {
       8    for (; d < 1; d++)
       9      {
      10        if (b)
      11  	{
      12  	  a = e++ && f;
      13  	  b = f;
      14  	}
      15        c[b] = 0;
      16      }
      17  }
      18  
      19  int
      20  main ()
      21  {
      22    fn1 ();
      23  
      24    if (e != 0)
      25      __builtin_abort ();
      26  
      27    return 0;
      28  }
      29