Skip to content

Issues: rust-lang/rust

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

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Sort

Issues list

Tracking issue for banning field projecting into [rustc_layout_scalar_valid_range_*] types (MCP807) A-mir-opt Area: MIR optimizations C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. WG-mir-opt Working group: MIR optimizations
#133652 opened Nov 29, 2024 by scottmcm
5 tasks
ICE: entered unreachable code: FieldsShape::offset: Primitives have no fields -Zvalidate-mir Unstable option: MIR validation A-mir-opt Area: MIR optimizations A-mir-opt-inlining Area: MIR inlining C-bug Category: This is a bug. E-needs-test Call for participation: An issue has been fixed and does not reproduce, but no test has been 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.
#133624 opened Nov 29, 2024 by matthiaskrgr
ICE: is not a pointer or reference type -Zvalidate-mir Unstable option: MIR validation A-mir-opt Area: MIR optimizations C-bug Category: This is a bug. E-needs-test Call for participation: An issue has been fixed and does not reproduce, but no test has been added. 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.
#133065 opened Nov 15, 2024 by matthiaskrgr
ReferencePropagation introduces UB into code that is accepted by Stacked Borrows A-mir-opt Area: MIR optimizations C-bug Category: This is a bug. E-needs-investigation Call for partcipation: This issues needs some investigation to determine current status I-miscompile Issue: Correct Rust code lowers to incorrect machine code T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-mir-opt Working group: MIR optimizations
#132898 opened Nov 11, 2024 by RalfJung
Invalidate all dereferences when encountering non-local assignments A-mir-opt Area: MIR optimizations perf-regression Performance regression. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132527 opened Nov 2, 2024 by DianQK Loading…
Panic in nightly 1.83.0 and 1.84.0 with opt-level >= 1 when unwrapping Some variant A-mir-opt Area: MIR optimizations C-bug Category: This is a bug. I-miscompile Issue: Correct Rust code lowers to incorrect machine code P-medium Medium priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132353 opened Oct 30, 2024 by Specy 1.83.0
ICE: jump threading: 2 != 1 A-mir-opt Area: MIR optimizations C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ requires-debug-assertions This issue requires a build of rustc or tooling with debug-assertions in some way S-bug-has-test Status: This bug is tracked inside the repo by a `known-bug` test. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#131451 opened Oct 9, 2024 by matthiaskrgr
ICE: InterpErrorInfo(InterpErrorInfoInner { kind: UndefinedBehavior(BoundsCheckFailed A-mir-opt Area: MIR optimizations A-mir-opt-GVN Area: MIR opt Global Value Numbering (GVN) C-bug Category: This is a bug. F-adt_const_params `#![feature(adt_const_params)]` F-unsized_const_params `#![feature(unsized_const_params)]` I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-bug-has-test Status: This bug is tracked inside the repo by a `known-bug` test. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#129095 opened Aug 14, 2024 by matthiaskrgr
Miscompilation of a program projecting field of an extern type A-mir-opt Area: MIR optimizations C-bug Category: This is a bug. F-extern_types `#![feature(extern_types)]` I-miscompile Issue: Correct Rust code lowers to incorrect machine code I-unsound Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness 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. T-opsem Relevant to the opsem team
#127336 opened Jul 4, 2024 by tmiasko
Performance regression between v1.76.0 and v1.77.2 A-mir-opt Area: MIR optimizations C-bug Category: This is a bug. P-medium Medium priority regression-untriaged Untriaged performance or correctness regression.
#125543 opened May 25, 2024 by jmillikin
ICE: Couldn't evaluate constant const -Zpolymorphize Unstable option: Polymorphization. A-mir-opt Area: MIR optimizations A-mir-opt-inlining Area: MIR inlining C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-bug-has-test Status: This bug is tracked inside the repo by a `known-bug` test. 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.
#123893 opened Apr 13, 2024 by matthiaskrgr
Figure out the interaction of GVN and function/vtable pointers A-mir-opt Area: MIR optimizations C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#123670 opened Apr 9, 2024 by RalfJung
Inefficient compiler optimization between stable versions on nightly A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-mir-opt Area: MIR optimizations C-bug Category: This is a bug. I-slow Issue: Problems and improvements with respect to performance of generated code. P-medium Medium priority T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#123262 opened Mar 31, 2024 by ArhanChaudhary
Evaluating constants in MIR optimizations introduces const eval errors A-const-eval Area: Constant evaluation, covers all const contexts (static, const fn, ...) A-mir-opt Area: MIR optimizations A-monomorphization Area: Monomorphization C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#122828 opened Mar 21, 2024 by tmiasko
ICE: Got a scalar pair where a scalar was expected A-mir-opt Area: MIR optimizations A-mir-opt-GVN Area: MIR opt Global Value Numbering (GVN) C-bug Category: This is a bug. F-trivial_bounds `#![feature(trivial_bounds)]` I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-bug-has-test Status: This bug is tracked inside the repo by a `known-bug` test. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#121363 opened Feb 20, 2024 by matthiaskrgr
Very slow 80 minutes release build, due mir_pass_scalar_replacement_of_aggregates (sroa) optimization enabled A-mir-opt Area: MIR optimizations C-bug Category: This is a bug. I-compiletime Issue: Problems and improvements with respect to compile times. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#121354 opened Feb 20, 2024 by qarmin
ICE immediate Scalar(alloc1) does not fit to layout TyAndLayout A-const-eval Area: Constant evaluation, covers all const contexts (static, const fn, ...) A-mir-opt Area: MIR optimizations A-mir-opt-inlining Area: MIR inlining C-bug Category: This is a bug. F-trivial_bounds `#![feature(trivial_bounds)]` I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ requires-debug-assertions This issue requires a build of rustc or tooling with debug-assertions in some way S-bug-has-test Status: This bug is tracked inside the repo by a `known-bug` test. 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.
#121176 opened Feb 16, 2024 by matthiaskrgr
Test polymorphic_recursion.rs takes a long time to compile with a debug-assertions=true compiler A-contributor-roadblock Area: Makes things more difficult for new contributors to rust itself A-mir-opt Area: MIR optimizations A-testsuite Area: The testsuite used to check the correctness of rustc T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-types Relevant to the types team, which will review and decide on the PR/issue.
#121121 opened Feb 15, 2024 by Zalathar
Multiple bounds checking elision failures A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-mir-opt Area: MIR optimizations C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-slow Issue: Problems and improvements with respect to performance of generated code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#120433 opened Jan 27, 2024 by SUPERCILEX
Enable MultipleReturnTerminators by default. A-mir-opt Area: MIR optimizations perf-regression Performance regression. S-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#120179 opened Jan 21, 2024 by cjgillot Draft
[perf only] Reimplement references debuginfo as projection. A-mir-opt Area: MIR optimizations perf-regression Performance regression. S-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#119471 opened Dec 31, 2023 by cjgillot Draft
Suboptimal order of tests in match A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-mir-opt Area: MIR optimizations C-bug Category: This is a bug. I-slow Issue: Problems and improvements with respect to performance of generated code.
#117970 opened Nov 16, 2023 by Kmeakin
Add FileCheck annotations to MIR-opt tests A-mir-opt Area: MIR optimizations A-testsuite Area: The testsuite used to check the correctness of rustc E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. E-help-wanted Call for participation: Help is requested to fix this issue. E-needs-test Call for participation: An issue has been fixed and does not reproduce, but no test has been added. E-tedious Call for participation: An issue involves lots of work and is better handled as many small tasks. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#116971 opened Oct 20, 2023 by cjgillot
EnumSizeOpt changes behavior based on the host A-mir-opt Area: MIR optimizations C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#116768 opened Oct 15, 2023 by saethlin
Missed optimization: RVO isn't applied A-codegen Area: Code generation A-mir-opt Area: MIR optimizations A-mir-opt-nrvo Fixed by the Named Return Value Opt. (NRVO) C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#116541 opened Oct 8, 2023 by gootorov
ProTip! Exclude everything labeled bug with -label:bug.