This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/16786] alignment incorrect on a structure field, on win32


------- Additional Comments From dannysmith at users dot sourceforge dot net  2004-07-27 21:07 -------
The testcase also fails on gcc-3.3.3 on mingw.

It gives correct results on 3.4.1 and trunk (20040726) on mingw

offsetof(B,a)=0x10
sizeof(A)=0x10
sizeof(B)=0x20
alignof(A)=10
alignof(B)=10

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16786


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]