Miscompilation in lalrpop 0.19.6 causes LLVM error in nightly 2021-08-15/16 #88102
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
E-needs-bisection
Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Create an empty binary project, and add
lalrpop = "=0.19.6"
to theCargo.toml
. No additional code is necessary.I expected to see this happen: Program builds.
Instead, this happened: Compiler crashes:
This is reproducible with a clean build environment. (I originally spotted this in my CI and was luckily able to reproduce it on my laptop). I apologize that I cannot give a better MCVE at the moment.
Version it worked on
It most recently worked on:
Note that this is
nighty-2021-08-14
, I'm unsure why it says 2021-08-13.rustc --version --verbose
:Version with issue
This issue also occurs with nightly-2021-08-16.
Note that this is
nightly-2021-08-15
, as with the previous I'm unsure why it says 2021-08-14.rustc --version --verbose
:I cannot currently bisect further at this point.
@rustbot modify labels: +T-compiler +requires-nightly +A-LLVM +C-bug +E-needs-bisection
The text was updated successfully, but these errors were encountered: