1 /* PR middle-end/48335 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fno-tree-sra" } */
5 typedef long long T
__attribute__((may_alias
, aligned (1)));
6 typedef short U
__attribute__((may_alias
, aligned (1)));
10 _Complex
float d
__attribute__((aligned (8)));
19 *(T
*) ((char *) &s
.d
+ 1) = x
;
27 struct S s
= { .d
= 0.0f
};
28 ((U
*)((char *) &s
.d
+ 1))[0] = x
;
36 struct S s
= { .d
= 0.0f
};
37 ((U
*)((char *) &s
.d
+ 1))[1] = x
;
45 struct S s
= { .d
= 0.0f
};
46 ((U
*)((char *) &s
.d
+ 1))[2] = x
;
54 struct S s
= { .d
= 0.0f
};
55 ((U
*)((char *) &s
.d
+ 1))[3] = x
;