| 1 |
/* { dg-do compile } */ |
| 2 |
|
| 3 |
typedef long long T __attribute__((may_alias, aligned (1))); |
| 4 |
|
| 5 |
struct S |
| 6 |
{ |
| 7 |
_Complex float d __attribute__((aligned (8))); |
| 8 |
}; |
| 9 |
|
| 10 |
void bar (struct S); |
| 11 |
|
| 12 |
void |
| 13 |
f1 (T x) |
| 14 |
{ |
| 15 |
struct S s; |
| 16 |
*(T *) ((char *) &s.d + 1) = x; |
| 17 |
bar (s); |
| 18 |
} |