What does this warning do in cases where a type has different alignments inside and outside structs? I'm thinking of something like
struct s { long long x; } *p; /* ... */ (long long *)p on 32-bit x86 - where long long's preferred alignment is 8 bytes, but in structures it's 4 bytes. (Likewise for double in place of long long.) I think a warning for a (long long *)p cast might be surprising in that case. -- Joseph S. Myers jos...@codesourcery.com