diff --git a/tccgen.c b/tccgen.c
index d064024..1c091d2 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -2370,6 +2370,7 @@ static void gen_cast(CType *type)
tcc_warning("nonportable conversion from pointer to
char/short");
}
force_charshort_cast(dbt);
+#if !defined(TCC_TARGET_ARM64) && !defined(TCC_TARGET_X86_64)
} else if ((dbt & VT_BTYPE) == VT_INT) {
/* scalar to int */
if ((sbt & VT_BTYPE) == VT_LLONG) {
@@ -2380,6 +2381,7 @@ static void gen_cast(CType *type)
/* if lvalue and single word type, nothing to do because
the lvalue already contains the real type size (see
VT_LVAL_xxx constants) */
+#endif
}
}
} else if ((dbt & VT_BTYPE) == VT_PTR && !(vtop->r & VT_LVAL)) {
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel