Rust-GCC / Rust-GCC/gccrs

ICE on x86_64-unknown-openbsd6.9

Open
#489 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
2.9k
Forks
231
Avg merge
19h 55m
Merged PRs (30d)
67

Description

                === rust Summary ===

# of expected passes            2412
# of unexpected failures        56
# of expected failures          15
runtest completed at Sun Jun  6 00:08:53 2021
Code

Failures are from:

  • rust/compile/torture/generics29.rs
  • rust/compile/torture/generics30.rs
  • rust/compile/torture/generics31.rs
Meta
  • latest master as of 6 June 2021 - fcfbd8f9e00eab447c666f2e28cef2826fab88f2
Error output
FAIL: rust/compile/torture/generics30.rs   -O0  (internal compiler error)
FAIL: rust/compile/torture/generics30.rs   -O0   (test for warnings, line 4)
FAIL: rust/compile/torture/generics30.rs   -O0  (test for excess errors)
Excess errors:
rust1: internal compiler error: Segmentation fault
0xa06efc4aaa6 crash_signal
        ../../../gccrs/gcc/toplev.c:327
Backtrace

0xa06efc4aaa6 crash_signal
      ../../../gccrs/gcc/toplev.c:327

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

Reproduce the failure on x86_64-unknown-openbsd6.9 using rust/compile/torture/generics29.rs, generics30.rs, and generics31.rs, starting with the -O0 generics30.rs run. Use the reported crash location in gcc/toplev.c:327 and the available backtrace as the initial investigation point. Done means these tests no longer produce an internal compiler error or excess errors.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.