This is the mail archive of the gcc-help@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]

Re: long long alignment in structure for GCC 7.2.0 on Windows


On 2017-12-27 13:50 +0000, Gaoxiang (OS) wrote:

> It prints 0000000000000028 on Windows instead of 0000000000000024 on Linux, it seems weird for the packed struct.
> And I compile the same code with clang on windows ("clang -target x86_64-pc-windows-gnu test.c"), it prints
> 0000000000000024.
> 
> I have no idea what happened, Could someone give some hints?

I think this is PR 52991 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991>.
-- 
Xi Ruoyao <ryxi@stu.xidian.edu.cn>
School of Aerospace Science and Technology, Xidian University


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