rust-lang / rust-lang/rustc_codegen_gcc

Too many variables are created in some cases

Open
#611 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

perf
Dominant language
Rust
Stars
1.2k
Forks
105
Avg merge
8h 20m
Merged PRs (30d)
14

Description

Like in this case before this fix.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked rustc_codegen_gcc fix commit (02198d8458b9894c2450d5ea0a4e2e979dc56b84) and the surrounding issue discussion to identify the affected case and entry point. Reproduce that case and compare variable creation before and after the fix; done means the unnecessary variables are no longer created and the relevant regression coverage passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.