i386: align=8 for double and long long
This commit is contained in:
parent
b41fc95566
commit
3116744bdd
1 changed files with 1 additions and 1 deletions
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…
Add table
Reference in a new issue