You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Integer overflow wraps instead of promoting to float #48
area:typesType inference / representation / VRAbugSomething isn't workingneeds-designNeeds a design/epic, not a local fixwrong-answerCompiles and runs, output differs from php
Known-bug repro: tests/aot/repro/wrong/int_overflow.php — bash tests/aot/xfail.sh -k int_overflow reports XFAIL while this is open and XPASS once it is fixed; then move the repro into tests/aot/cases/ and close this issue.
Scope: needs value-range analysis (VRA). Int overflow wraps because statically-int values have no range info; promoting to float on overflow needs VRA or checked arithmetic with a float fallback (perf cost). See also: user rule that narrowing out of range is an explicit error. Parked branch: vra.
area:typesType inference / representation / VRAbugSomething isn't workingneeds-designNeeds a design/epic, not a local fixwrong-answerCompiles and runs, output differs from php
Activity
blacktrs commentedon Oct 13, 2026
Scope: needs value-range analysis (VRA). Int overflow wraps because statically-int values have no range info; promoting to float on overflow needs VRA or checked arithmetic with a float fallback (perf cost). See also: user rule that narrowing out of range is an explicit error. Parked branch:
vra.