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