1 /* PR middle-end/48335 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fno-tree-sra" } */
5 typedef short U __attribute__((may_alias, aligned (1)));
17 struct S s = { .d = 0.0 };
18 ((U *)((char *) &s.d + 1))[-1] = x;
26 struct S s = { .d = 0.0 };
27 ((U *)((char *) &s.d + 1))[-2] = x;
35 struct S s = { .d = 0.0 };
36 ((U *)((char *) &s.d + 1))[5] = x;