re PR middle-end/47968 (ICE: in gen_lowpart_general, at rtlhooks.c:51 when converting...
[gcc.git] / gcc / testsuite / gcc.dg / torture / pr47968.c
1 /* { dg-do compile } */
2
3 typedef __attribute__ ((vector_size (16))) float float4;
4 typedef __attribute__ ((vector_size (16))) double double2;
5
6 float foo (double2 d2)
7 {
8 float4 f4 = (float4) d2;
9 return *(float *) &f4;
10 }
11