NEW232866
Compiler Incorrect Optimization
https://bugs.webkit.org/show_bug.cgi?id=232866
Summary Compiler Incorrect Optimization
zhiyi
Reported 2021-11-08 22:19:52 PST
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);
Attachments
Radar WebKit Bug Importer
Comment 1 2021-11-15 22:20:24 PST
Note You need to log in before you can comment on or make changes to this bug.