------- Additional Comments From giovannibajo at libero dot it 2005-05-10 16:01 ------- In fact, the salias dump for the C++ testcase says:
--------------------------------------------------------------- ;; Function void bar() (_Z3barv) structure field tag SFT.2 created for var sb offset 0 size 32 void bar() () { struct B sb; <bb 0>: foo (&sb.D.1580); return; } --------------------------------------------------------------- so it looks like the substructure *is* at offset zero. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21407