(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr85168.c
       1  /* { dg-do compile } */
       2  /* { dg-require-effective-target indirect_jumps } */
       3  
       4  typedef struct {
       5      struct {
       6  	char a;
       7      } b;
       8  } c;
       9  
      10  int d, f;
      11  c *e;
      12  
      13  extern void i(void);
      14  extern void sejtmp () __attribute__((returns_twice));
      15  
      16  void g(void)
      17  {
      18    c *h = e;
      19    if (f)
      20      {
      21        i();
      22        h--;
      23        if (d)
      24  	if (h->b.a)
      25  	  i();
      26      }
      27    if (h->b.a)
      28      sejtmp();
      29    e = h;
      30  }