Closed
Bug 502768
Opened 15 years ago
Closed 15 years ago
Incorrect number with ^ (int-double confusion?)
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: testcase)
var a = 0;
var i = 0;
for each (let e in ['', 0, {}, '', '' ,'']) {
a ^= 0;
if (i == 1) {
a = 0x80000001;
}
for each (let r in [.5, .5]) { }
++i;
}
print(a);
Without JIT: -2147483647
With JIT: -4194304
Thanks to Gary for finding and partially reducing.
Jesse, this looks fixed with the patch in bug 502604. Can you confirm?
Comment 2•15 years ago
|
||
Just as I was complaining about fuzzer not hitting it ... great job jesse & gary.
Reporter | ||
Comment 3•15 years ago
|
||
Yep, the patch in bug 502604 fixes this.
Comment 4•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•