(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr61221.c
       1  /* { dg-do compile } */
       2  
       3  void __assert_fail (void);
       4  
       5  int **a, b, c, e, *j;
       6  short *d, **f;
       7  
       8  int *
       9  foo ()
      10  {
      11    *a = j;
      12    if (!(1 & e)) 
      13      __assert_fail ();
      14    return 0;
      15  }
      16  
      17  void
      18  bar ()
      19  {
      20    int *g = &b;
      21    short **h = &d;
      22    if ((f = &d) != h)
      23      for (; b;)
      24        {
      25  	int i = 1;
      26  	if (i)
      27  	  g = foo ();
      28  	c = 0;
      29        }
      30    if (!g)
      31      __assert_fail ();
      32  }