mirror of
https://github.com/ziglang/zig.git
synced 2025-12-16 03:03:09 +00:00
When acessing a packed struct member via a byte aligned ptr (from the optimisation in Sema.structFieldPtrByIndex()) the codegen must apply the parent ptr packed_offset in addition to the field offset itself. resolves https://github.com/ziglang/zig/issues/16609