rust-lang / rust-lang/rustc_codegen_gcc

Stack overflow in upstream GCC when compiling huge functions

Open
#695 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Stack overflow happens in verify_vssa.

Upstream issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86422

@FractalFir: were you able to create a reproducer in C for this bug?

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 with upstream GCC bug 86422 and the verify_vssa failure described in this issue. Check whether a C reproducer exists or can be established; the work is complete when a reproducer for the stack overflow is available and reported here.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
compilers
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.