1 /* Test that expand can generate correct stores to misaligned data of complex
2 type even on strict alignment platforms. */
5 /* { dg-options "-O0" } */
9 typedef _Complex
float mycmplx
__attribute__((aligned(1)));
12 foo (mycmplx
*p
, float r
, float i
)
26 } __attribute__((packed
));
31 main (int argc
, char **argv
)
35 for (k
= 0; k
< NUM
; k
++)
37 foo (&g
.x
[k
], cvr
, cvi
);
38 if (__real__ g
.x
[k
] != cvr
39 || __imag__ g
.x
[k
] != cvi
)