News for hackers. Stuff that matters.
Re:Structures in C: From Basics to Memory Alignment by tjalfi on Friday June 30, 2023 @06:01PM (#36543000)
Some targets also don't use natural alignment. AIX, for example, uses 4-byte alignment for doubles that aren't the first field in the struct. GCC has the -malign-natural and -malign-power options for dealing with this.

There are no comments on this comment yet.