1 /* { dg-do run { target *-*-linux* *-*-solaris* } } */
2 /* { dg-options -O2 } */
9 struct S { long x __attribute__((packed)); }; /* { dg-warning "attribute ignored" "" { target default_packed } } */
12 void foo (struct S *s)
19 size_t ps = getpagesize ();
24 page = (char *)(((size_t)ptr + (ps - 1)) & -ps);
25 munmap (page + ps, ps);
27 s = (struct S *)(page + ps - sizeof(struct S));