(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
tree-ssa/
ssa-thread-20.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O -fdump-tree-ethread-stats" } */
       3  
       4  struct S { int base; };
       5  void foo (struct S *p)
       6  {
       7    if (p)
       8      {
       9        int *q = &p->base;
      10        if (q)
      11          __builtin_puts ("x");
      12      }
      13  }
      14  
      15  /* { dg-final { scan-tree-dump "Jumps threaded: 1" "ethread" } } */