diff --git a/i386-gen.c b/i386-gen.c index b1024a76..77505d70 100644 --- a/i386-gen.c +++ b/i386-gen.c @@ -600,7 +600,8 @@ int gtst(int inv, int t) gsym(vtop->c.i); } } else { - if (is_float(vtop->type.t)) { + if (is_float(vtop->type.t) || + (vtop->type.t & VT_BTYPE) == VT_LLONG) { vpushi(0); gen_op(TOK_NE); }