History

Bug fix: A long long value used as a test expression ignores the upper 32 bits at runtime (Dave Dodge)

bellard committed 20 years ago

Commit 38d2e8b1 parent 3b8cd561 file · +2 −1Browse files

Unified · Split

i386-gen.c+2−1
@@ -600,7 +600,8 @@ int gtst(int inv, int t) · 599 unmodified lines
600 gsym(vtop->c.i);600 gsym(vtop->c.i);
601 }601 }
602 } else {602 } else {
603 if (is_float(vtop->type.t)) {603 if (is_float(vtop->type.t) ||
604 (vtop->type.t & VT_BTYPE) == VT_LLONG) {
604 vpushi(0);605 vpushi(0);
605 gen_op(TOK_NE);606 gen_op(TOK_NE);
606 }607 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t