Try to fix #4553
This commit is contained in:
1 parent
f5b16aa42a
commit
dd8e6e884c
1 file changed
+1
-1
@@ -2601,7 +2601,7 @@ general_end:;
|
||||
GB_ASSERT(p->decl_block != p->curr_block);
|
||||
|
||||
i64 max_align = gb_max(lb_alignof(src_type), lb_alignof(dst_type));
|
||||
max_align = gb_max(max_align, 4);
|
||||
max_align = gb_max(max_align, 16);
|
||||
|
||||
LLVMValueRef ptr = llvm_alloca(p, dst_type, max_align);
|
||||
|
||||
|
||||
Reference in new issue
Block a user