Skip to content

Commit 2f6a01d

Browse files
committed
stage1: fix @sizeOf for 128-bit integer types
1 parent f21c11a commit 2f6a01d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/stage1/analyze.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -7686,6 +7686,7 @@ ZigType *make_int_type(CodeGen *g, bool is_signed, uint32_t size_in_bits) {
76867686
// However for some targets, LLVM incorrectly reports this as 8.
76877687
// See: https://github.com/ziglang/zig/issues/2987
76887688
entry->abi_align = 16;
7689+
entry->abi_size = align_forward(entry->abi_size, entry->abi_align);
76897690
}
76907691
}
76917692

0 commit comments

Comments
 (0)