modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/20040817-1.c (about)

     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  }