[Webkit-unassigned] [Bug 228068] New: Compiler Incorrect Optimization

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 18 19:59:14 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=228068

            Bug ID: 228068
           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: ubuntu18.04
Architecture: <x64>

./jsc bug.js

expected output
-Infinity
-Infinity

actual output
-Infinity
Infinity


bug.js
##################################
function f() {
  v0 = (-0.0).toLocaleString();
  return parseInt(v0);
}
let a0 = f();
print(1 / a0);

for (let i = 0; i < 0x1000; i++) { f(); }
let a3 = f();
print(1 / 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/20210719/6f9dac0f/attachment-0001.htm>


More information about the webkit-unassigned mailing list