[Webkit-unassigned] [Bug 232866] New: Compiler Incorrect Optimization
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 8 22:19:52 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=232866
Bug ID: 232866
Summary: Compiler Incorrect Optimization
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: vulbugs at gmail.com
OS: ubuntu20.04
Architecture: <x64>
./jsc bug.js
expected output
-NaN
-NaN
actual output
-NaN
NaN
bug.js
##################################
function f() {
const v1 = Math.ceil({});
const v2 = -v1;
const v3 = v2.toLocaleString();
return v3;
}
let a0 = f();
print(a0);
for (let i = 0; i < 0x1000; i++) { f(); }
let a3 = f();
print(a3);
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211109/9abc9cc9/attachment.htm>
More information about the webkit-unassigned
mailing list