-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
ICE with -Zextra-const-ub-checks: normalization works on validated constants #100771
Labels
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
Ah, there was a reason why we disabled alignment checks in CTFE... This can probably be reproduced without Miri by passing -Zextra-const-ub-checks to rustc.
|
Yeah this just need "cargo miri run", no additional flags required. |
Right, this does also reproduce with |
Yeah let's move this to the rustc repo. |
RalfJung
changed the title
ICE: normalization works on validated constants
ICE with -Zextra-const-ub-check: normalization works on validated constants
Aug 19, 2022
matthiaskrgr
added
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
C-bug
Category: This is a bug.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
labels
Aug 19, 2022
matthiaskrgr
changed the title
ICE with -Zextra-const-ub-check: normalization works on validated constants
ICE with -Zextra-const-ub-checks: normalization works on validated constants
Aug 21, 2022
matthiaskrgr
added a commit
to matthiaskrgr/glacier
that referenced
this issue
Aug 21, 2022
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Aug 23, 2022
fix ICE with extra-const-ub-checks Fixes rust-lang#100771
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
code from rustc
./src/test/ui/consts/packed_pattern.rs
this causes a new panic when executed via miri:
The text was updated successfully, but these errors were encountered: