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)));
17 return *(T *) ((char *) &s.d + 1);
24 return ((U *)((char *) &s.d + 1))[0];
31 return ((U *)((char *) &s.d + 1))[1];
38 return ((U *)((char *) &s.d + 1))[2];
45 return ((U *)((char *) &s.d + 1))[3];