When copying function arguments on stack in prolog, use multiple of 4 bytes for alignment.
Unified · Split
| @@ -1202,6 +1202,7 @@ void gfunc_prolog(CType *func_type) · 1201 unmodified lines | ||
| 1202 | 1202 | type = &sym->type; |
| 1203 | 1203 | size = type_size(type, &align); |
| 1204 | 1204 | size = (size + 3) >> 2; |
| 1205 | + align = (align + 3) & ~3; | |
| 1205 | 1206 | #ifdef TCC_ARM_HARDFLOAT |
| 1206 | 1207 | if (!variadic && (is_float(sym->type.t) |
| 1207 | 1208 | || is_float_hgen_aggr(&sym->type))) { |