Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustc_codegen_ssa: Fix for codegen_get_discr #104535

Merged
merged 1 commit into from
Dec 4, 2022

Commits on Nov 18, 2022

  1. rustc_codegen_ssa: Fix for codegen_get_discr

    When doing the optimized implementation of getting the discriminant, the
    arithmetic needs to be done in the tag type so wrapping behavior works
    correctly.
    
    Fixes rust-lang#104519
    Michael Benfield committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    31c0645 View commit details
    Browse the repository at this point in the history