Beta miscompiles match when a pattern has a range including signed minimum #58067
Labels
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This prints
-99
instead of0
.Changing the first pattern to
-0x80 | -0x7f..=-1 => -99,
will work around the issue.Changing it to
-0x80..=-0x7f | -0x7e..=-1
reintroduces the issue.The text was updated successfully, but these errors were encountered: