Create embedded-5_0-branch branch for development on ARM embedded cores.
[official-gcc.git] / embedded-5_0-branch / gcc / testsuite / gcc.c-torture / compile / pr42196-3.c
blobccc0d7a195cf6f3b8678d51dee6567fc40c0e425
1 union U
3 __complex__ int ci;
4 __complex__ float cf;
5 };
7 float gd;
8 extern float bar (float, float);
10 float foo (int b, union U u)
12 float f1, f2, r;
14 if (b)
16 f1 = __real__ u.cf;
17 f1 = __imag__ u.cf;
19 else
21 f1 = __real__ u.ci;
22 f1 = __imag__ u.ci;
25 r = bar (f1, f2);
26 return r;