2 /* { dg-options "-O -fno-strict-aliasing" } */
14 } __attribute__((packed
));
16 struct S
__attribute__((noclone
, noinline
))
17 foo (void *v
, struct Z
*z
)
21 *(struct Z
*) &t
.b
= *z
;
28 main (int argc
, char **argv
)
32 if (sizeof (long double) < sizeof (struct Z
))
38 s
= foo ((void *) 0, &gz
);
40 if ((((struct Z
*) &s
.b
)->l
!= gz
.l
)
41 || (((struct Z
*) &s
.b
)->s
!= gz
.s
))