1 /* PR 17051: SRA failed to rename the VOPS properly.  */
2 
3 struct A
4 {
5     char c, d;
6 };
7 
foo(struct A * p)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 }
20