-
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: broken mir: wrapping_mul() with copy bound #101962
Labels
A-intrinsics
Area: Intrinsics
C-bug
Category: This is a bug.
F-core_intrinsics
Issue in the "core intrinsics" for internal usage only.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
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
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
Sep 18, 2022
matthiaskrgr
changed the title
ICE: wrapping_mul() with copy bound
ICE: broken mir: wrapping_mul() with copy bound
Sep 18, 2022
matthiaskrgr
added a commit
to matthiaskrgr/glacier
that referenced
this issue
Sep 18, 2022
matthiaskrgr
added a commit
to matthiaskrgr/glacier
that referenced
this issue
Sep 23, 2022
I think it's understood that using these intrinsics incorrectly will ICE, since we have no way of checking this intrinsic's usage properly via a trait bound... |
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Nov 14, 2022
…imulacrum Add a few known-bug tests The labels of these tests should be changed from `S-bug-has-mcve` to `S-bug-has-test` once this is merged. cc: rust-lang#101518 rust-lang#99492 rust-lang#90950 rust-lang#89196 rust-lang#104034 rust-lang#101350 rust-lang#103705 rust-lang#103899 I couldn't reproduce the failures in rust-lang#101962 and rust-lang#100772 (so either these have started passing, or I didn't repro properly), so leaving those out for now. rust-lang#102065 was a bit more complicated, since it uses `rustc_private` and I didn't want to mess with that.
inquisitivecrystal
added
the
requires-nightly
This issue requires a nightly compiler in some way.
label
Dec 12, 2022
workingjubilee
added
the
F-core_intrinsics
Issue in the "core intrinsics" for internal usage only.
label
Mar 14, 2023
10 tasks
closing as "don't do this", this is an intrinsic which is not supported |
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Jul 25, 2024
…, r=oli-obk Remove crashes for misuses of intrinsics All of these do not crash if the feature gate is removed. An ICE due *opting into* the intrinsics feature gate is not a bug that needs to be fixed, but instead a misuse of an internal-only API. See rust-lang/compiler-team#620 The last two issues are already closed anyways, but: Fixes rust-lang#97501 Fixes rust-lang#111699 Fixes rust-lang#101962
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-intrinsics
Area: Intrinsics
C-bug
Category: This is a bug.
F-core_intrinsics
Issue in the "core intrinsics" for internal usage only.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
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
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: