(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
compile/
20040817-1.c
       1  /* PR 17051: SRA failed to rename the VOPS properly.  */
       2  
       3  struct A
       4  {
       5      char c, d;
       6  };
       7  
       8  void foo(struct A *p)
       9  {
      10      struct A a = *p;
      11  
      12      if (p->c)
      13          bar1(a);
      14      else
      15      {
      16          if (p) bar2(a,a.c);
      17          bar3(a.c);
      18      }
      19  }