Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr51628-20.c
blob2249d85098b7445daa236b150147b66d86649436
1 /* PR c/51628. */
2 /* { dg-do compile } */
3 /* { dg-options "-O -Wno-incompatible-pointer-types" } */
5 struct B { int i; };
6 struct C { struct B b; } __attribute__ ((packed));
8 extern struct C *p;
10 long* g8 (void) { return p; }
11 /* { dg-warning "may result in an unaligned pointer value" "" { target { ! default_packed } } .-1 } */