Skip to content
This repository was archived by the owner on Apr 18, 2022. It is now read-only.
This repository was archived by the owner on Apr 18, 2022. It is now read-only.

[BUG] Multiple SIGILL occurences with nightly opt-level=1 #1808

@ishitatsuyuki

Description

@ishitatsuyuki

Description

Due to recent changes in rustc regarding the interaction between mem::uninitialized and ManuallyDrop (basically the later no longer being a union), many crates are now directly having the code path nullified by LLVM, getting illegal instruction because they are treated as dead code.

Your Environment

rustc 1.38.0-nightly (78ca1bda3 2019-07-08)
binary: rustc
commit-hash: 78ca1bda3522b14bc0336bc01dd1d49fdba2cda7
commit-date: 2019-07-08
host: x86_64-unknown-linux-gnu
release: 1.38.0-nightly
LLVM version: 8.0
[profile.dev]
opt-level = 1

Causes found so far

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions