Unified · Split
| @@ -1197,6 +1197,7 @@ static int reg_fret(int t) · 1196 unmodified lines | ||
| 1197 | 1197 | return REG_FRET; |
| 1198 | 1198 | } |
| 1199 | 1199 | |
| 1200 | +#if !defined(TCC_TARGET_ARM64) && !defined(TCC_TARGET_X86_64) | |
| 1200 | 1201 | /* expand 64bit on stack in two ints */ |
| 1201 | 1202 | static void lexpand(void) |
| 1202 | 1203 | { |
| @@ -1217,6 +1218,7 @@ static void lexpand(void) · 14 unmodified lines | ||
| 1217 | 1218 | } |
| 1218 | 1219 | vtop[0].type.t = vtop[-1].type.t = VT_INT | u; |
| 1219 | 1220 | } |
| 1221 | +#endif | |
| 1220 | 1222 | |
| 1221 | 1223 | #ifdef TCC_TARGET_ARM |
| 1222 | 1224 | /* expand long long on stack */ |
| @@ -2370,6 +2372,7 @@ static void gen_cast(CType *type) · 1147 unmodified lines | ||
| 2370 | 2372 | tcc_warning("nonportable conversion from pointer to char/short"); |
| 2371 | 2373 | } |
| 2372 | 2374 | force_charshort_cast(dbt); |
| 2375 | +#if !defined(TCC_TARGET_ARM64) && !defined(TCC_TARGET_X86_64) | |
| 2373 | 2376 | } else if ((dbt & VT_BTYPE) == VT_INT) { |
| 2374 | 2377 | /* scalar to int */ |
| 2375 | 2378 | if ((sbt & VT_BTYPE) == VT_LLONG) { |
| @@ -2380,6 +2383,7 @@ static void gen_cast(CType *type) · 4 unmodified lines | ||
| 2380 | 2383 | /* if lvalue and single word type, nothing to do because |
| 2381 | 2384 | the lvalue already contains the real type size (see |
| 2382 | 2385 | VT_LVAL_xxx constants) */ |
| 2386 | +#endif | |
| 2383 | 2387 | } |
| 2384 | 2388 | } |
| 2385 | 2389 | } else if ((dbt & VT_BTYPE) == VT_PTR && !(vtop->r & VT_LVAL)) { |