Revise -mdisable-fpregs option and add new -msoft-mult option
[official-gcc.git] / gcc / testsuite / gcc.dg / pr51628-25.c
blobf00d9b1bcacf0617d18bfcc60ac2ae26278bf294
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 long* g8 (struct C *p) { return p; }
9 /* { dg-warning "may result in an unaligned pointer value" "" { target { ! default_packed } } .-1 } */