(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr70985.c
       1  /* { dg-do compile } */
       2  /* { dg-require-effective-target int32plus } */
       3  
       4  struct
       5  {
       6    int f0:24;
       7  } a, c, d;
       8  
       9  int b;
      10  
      11  int
      12  fn1 ()
      13  {
      14    return 0;
      15  }
      16  
      17  void
      18  fn2 ()
      19  {
      20    int e;
      21    if (b) 
      22      for (; e;)
      23        {
      24  	d = c;
      25  	if (fn1 (b))
      26  	  b = a.f0;
      27        }
      28  }