mirror of
https://github.com/mirror/tinycc.git
synced 2025-04-01 12:30:08 +08:00
i386: align=8 for double and long long
This commit is contained in:
parent
b41fc95566
commit
3116744bdd
2
tcc.c
2
tcc.c
@ -6255,7 +6255,7 @@ static int type_size(CType *type, int *a)
|
|||||||
return LDOUBLE_SIZE;
|
return LDOUBLE_SIZE;
|
||||||
} else if (bt == VT_DOUBLE || bt == VT_LLONG) {
|
} else if (bt == VT_DOUBLE || bt == VT_LLONG) {
|
||||||
#ifdef TCC_TARGET_I386
|
#ifdef TCC_TARGET_I386
|
||||||
*a = 4;
|
*a = 8;
|
||||||
#elif defined(TCC_TARGET_ARM)
|
#elif defined(TCC_TARGET_ARM)
|
||||||
#ifdef TCC_ARM_EABI
|
#ifdef TCC_ARM_EABI
|
||||||
*a = 8;
|
*a = 8;
|
||||||
|
Loading…
Reference in New Issue
Block a user