]>
gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/c-c++-common/pr51628-30.c
2 /* { dg-do compile } */
3 /* { dg-options "-O" } */
5 struct A
{ __complex
int i
; };
6 struct B
{ struct A a
; };
7 struct C
{ struct B b
__attribute__ ((packed
)); };
14 return &__real(p
->b
.a
.i
);
15 /* { dg-warning "may result in an unaligned pointer value" "" { target *-*-* } .-1 } */
21 return &__imag(p
->b
.a
.i
);
22 /* { dg-warning "may result in an unaligned pointer value" "" { target *-*-* } .-1 } */
This page took 0.036505 seconds and 5 git commands to generate.