1 /* { dg-do compile } */ 2 /* { dg-options "-O -fgimple" } */ 3 4 struct Y { int b[2]; }; 5 struct X { int a; struct Y y; }; 6 struct X x; 7 __GIMPLE()8int __GIMPLE () 9 foo (struct X *p, _Complex int q) 10 { 11 int b; 12 b_1 = __real q; 13 p_4(D)->a = b_1; 14 x.y.b[b_1] = b_1; 15 b_2 = p->y.b[1]; 16 b_3 = x.a; 17 return b_3; 18 } 19