------- Comment #2 from pinskia at gcc dot gnu dot org 2006-07-13 22:44 ------- More than that: int cc[1]; foo(cc); /* says "unaligned access" */ int foo(v) aa *v;
You are also violating C aliasing rules and also violating an even more fundental problem in that the struct aa will not fit in cc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28373