2 /* { dg-do compile } */
3 /* { dg-options "-O" } */
9 } __attribute__ ((packed
, aligned (4)));
11 extern struct pair_t p
;
12 extern void bar (int *);
15 foo (struct pair_t
*p
)
17 bar (p
? p
->i
: (int *) 0);
18 /* { dg-warning "may result in an unaligned pointer value" "" { target { ! default_packed } } .-1 } */