2 /* { dg-do compile } */
3 /* { dg-options "-O" } */
9 } __attribute__ ((packed
));
11 extern struct pair_t p
;
13 extern void bar (int *);
16 /* { dg-warning "may result in an unaligned pointer value" "" { target { ! default_packed } } .-1 } */
19 foo (struct pair_t
*p
)
23 /* { dg-warning "may result in an unaligned pointer value" "" { target { ! default_packed } } .-1 } */
26 /* { dg-warning "may result in an unaligned pointer value" "" { target { ! default_packed } } .-1 } */
29 /* { dg-warning "may result in an unaligned pointer value" "" { target { ! default_packed } } .-1 } */
31 /* { dg-warning "may result in an unaligned pointer value" "" { target { ! default_packed } } .-1 } */
33 /* { dg-warning "may result in an unaligned pointer value" "" { target { ! default_packed } } .-1 } */
35 /* { dg-warning "may result in an unaligned pointer value" "" { target { ! default_packed } } .-1 } */