1 /* { dg-do compile } */
2 /* { dg-options "-O1" } */
3 /* Let gimple verifier check what SRA does to unions and single-field
11 extern struct sim_struct get_x(void);
13 struct sim_struct foo (void)
15 struct sim_struct simple;
31 extern struct sim_cmplx get_sc (void);
33 _Complex double foo_c (void)
35 struct sim_cmplx simple;
38 if (__real__ simple.c > 200.3)
39 __imag__ simple.c -= 2.4;
51 extern union sim_union get_y (void);
53 union sim_union bar (void)
55 union sim_union simple;
64 extern int get_int (void);
68 union sim_union simple;
72 simple.i = get_int ();