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

Stop emitting one-at-a-time byte ops when swapping byte arrays A-codegen Area: Code generation 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.
#134946 opened Dec 31, 2024 by scottmcm
atomic RMW intrinsics: avoid unnecessary ptr/int conversions A-atomic Area: Atomics, barriers, and sync primitives A-codegen Area: Code generation A-intrinsics Area: Intrinsics A-strict-provenance Area: Strict provenance for raw pointers
#134617 opened Dec 21, 2024 by RalfJung
enums with disjoint ranges should emit more precise llvm.range metadata A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. 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.
#133822 opened Dec 3, 2024 by Kmeakin
Rustc fails to compile a program with ThinLTO and split-debuginfo = "packed" A-codegen Area: Code generation A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.) A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132677 opened Nov 6, 2024 by zamazan4ik
Inefficient implementation of PartialEq for nested (fieldless) enums A-codegen Area: Code generation A-enum 🤓 akshually it's an "ADT" or "algebraic data type" A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-heavy Issue: Problems and improvements with respect to binary size of generated code. 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.
#132628 opened Nov 5, 2024 by zaneduffield
Tracking issue for release notes of #129347: #[inline(never)] does not work for async functions A-async-await Area: Async & Await A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. relnotes Marks issues that should be documented in the release notes of the next release. relnotes-tracking-issue Marks issues tracking what text to put in release notes. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#132573 opened Nov 3, 2024 by rustbot
3 tasks
Unmerged stack slots under Windows A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-heavy Issue: Problems and improvements with respect to binary size of generated code. O-windows-msvc Toolchain: MSVC, Operating system: Windows T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132014 opened Oct 21, 2024 by xTachyon
Codegen depends on let-variable ordering for unclear reasons A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-panic Area: Panicking machinery C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-heavy Issue: Problems and improvements with respect to binary size of generated code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#131987 opened Oct 21, 2024 by CrazyboyQCD
Volatile reads and writes on aarch64 sometimes generate instructions not suitable for MMIO in protected VMs A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. O-AArch64 Armv8-A or later processors in AArch64 mode 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.
#131894 opened Oct 18, 2024 by qwandor
get_unchecked() is never inlined on armv7-unknown-linux-gnueabihf in functions with #[target_feature(enable = "neon")] A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-SIMD Area: SIMD (Single Instruction Multiple Data) A-target-feature Area: Enabling/disabling target features like AVX, Neon, etc. C-bug Category: This is a bug. I-slow Issue: Problems and improvements with respect to performance of generated code. O-Arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#131745 opened Oct 15, 2024 by hkratz
precondition_check functions can survive MonoReachable A-codegen Area: Code generation C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#131578 opened Oct 12, 2024 by saethlin
Regression: tests/codegen/issues/issue-101082.rs fails with -Ctarget-cpu=x86-64-v3 A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. P-medium Medium priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another.
#131563 opened Oct 11, 2024 by cuviper
-plugin-opt linker flags require a leading dash when using GCC as a linker A-codegen Area: Code generation A-gcc Things relevant to the [future] GCC backend T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#130583 opened Sep 19, 2024 by antoyo
Suboptimal codegen for a function that should fold to a constant A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. 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.
#130421 opened Sep 16, 2024 by dcci
[BUG] llvm-cov warning mismatched data when double slash comment above use A-code-coverage Area: Source-based code coverage (-Cinstrument-coverage) A-codegen Area: Code generation C-bug Category: This is a bug. 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.
#130065 opened Sep 7, 2024 by loynoir
-Csoft-float flag is unsound A-ABI Area: Concerning the application binary interface (ABI) A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. I-unsound Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness O-Arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state P-medium Medium priority T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#129893 opened Sep 2, 2024 by RalfJung
#[inline(never)] does not work for async functions A-async-await Area: Async & Await A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. C-bug Category: This is a bug. disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-period The final comment period is finished for this PR / Issue. S-has-mcve Status: A Minimal Complete and Verifiable Example has been found for this issue T-lang Relevant to the language team, which will review and decide on the PR/issue.
#129347 opened Aug 21, 2024 by michaelwoerister
Weird AVX 512 code generated with std::simd when using -Zbuild-std A-codegen Area: Code generation A-SIMD Area: SIMD (Single Instruction Multiple Data) C-bug Category: This is a bug. PG-portable-simd Project group: Portable SIMD (https://github.com/rust-lang/project-portable-simd) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#129293 opened Aug 20, 2024 by cvijdea-bd
Unnecessary alloca Without Optimization Flags A-codegen Area: Code generation 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.
#129282 opened Aug 19, 2024 by CJacob314
Inefficient Match Statement Optimization for Unit-Only Enums with Fixed Offsets A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-patterns Relating to patterns and pattern matching 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. llvm-fixed-upstream Issue expected to be fixed by the next major LLVM upgrade, or backported fixes T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#129131 opened Aug 15, 2024 by Shadowcat650
Missing optimization for interger modulo operation in loop edge case A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. 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.
#128921 opened Aug 10, 2024 by CrazyboyQCD
-Cstack-alignment/-Cpreferred-stack-boundary support in rustc A-CLI Area: Command-line interface (CLI) to the compiler A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-rust-for-linux Relevant for the Rust-for-Linux project C-feature-request Category: A feature request, i.e: not implemented / a PR. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#128833 opened Aug 8, 2024 by ojeda
-Calign-loops=1 support in rustc A-CLI Area: Command-line interface (CLI) to the compiler A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-rust-for-linux Relevant for the Rust-for-Linux project C-feature-request Category: A feature request, i.e: not implemented / a PR. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#128832 opened Aug 8, 2024 by ojeda
-Calign-jumps=1 support in rustc A-CLI Area: Command-line interface (CLI) to the compiler A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-rust-for-linux Relevant for the Rust-for-Linux project C-feature-request Category: A feature request, i.e: not implemented / a PR. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#128831 opened Aug 8, 2024 by ojeda
Deduplicate test suites for alternative codegen backends A-codegen Area: Code generation A-contributor-roadblock Area: Makes things more difficult for new contributors to rust itself A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-testsuite Area: The testsuite used to check the correctness of rustc C-discussion Category: Discussion or questions that doesn't represent real issues. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#128741 opened Aug 6, 2024 by RalfJung
ProTip! What’s not been updated in a month: updated:<2024-12-04.