-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: thread 'rustc' panicked at 'call to rustc_peek should be preceded by assignment to temporary holding its argument', compiler/rustc_mir/src/transform/rustc_peek.rs #83461
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
Labels
C-bug
Category: This is a bug.
F-rustc_attrs
Internal rustc attributes gated on the `#[rustc_attrs]` feature gate.
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.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
fanninpm
added a commit
to fanninpm/glacier
that referenced
this issue
Mar 26, 2021
Issue: rust-lang/rust#83461
I hit this in my fuzzing as well. Code#![feature(core_intrinsics, rustc_attrs)]
use std::intrinsics::rustc_peek;
fn k() {}
#[rustc_mir(rustc_peek_definite_init,stop_after_dataflow)]
fn foo() {
rustc_peek(k());
}
fn main() {} Error outputthread 'rustc' panicked at 'call to rustc_peek should be preceded by assignment to temporary holding its argument', compiler/rustc_mir_dataflow/src/rustc_peek.rs:117 Backtrace
RegressionRegression in nightly-2019-10-03, likely from #64980, which added this Version
@rustbot label +requires-nightly +F-rustc_attrs |
Misuse of an intrinsic causing an ICE is expected behavior. |
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.
F-rustc_attrs
Internal rustc attributes gated on the `#[rustc_attrs]` feature gate.
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.
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: