2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / gimplefe-16.c
blob2949249151ed4f3b8227a1c0c52382f7216b5515
1 /* { dg-do compile } */
2 /* { dg-options "-O -fgimple" } */
4 struct Y { int b[2]; };
5 struct X { int a; struct Y y; };
6 struct X x;
8 int __GIMPLE ()
9 foo (struct X *p, _Complex int q)
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;