-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault when matching on enums #38002
Labels
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
sfackler
added
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
labels
Nov 25, 2016
Appears to be broken on nightly as well - I get a stack overflow on x86_64 darwin. |
sfackler
added
the
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
label
Nov 25, 2016
FWIW, I don't get a segfault on beta or nightly with the playpen, I just get this output for both:
|
The stackoverflow on x86_64 darwin goes away for me on any |
arielb1
added a commit
to arielb1/rust
that referenced
this issue
Nov 27, 2016
brson
pushed a commit
to brson/rust
that referenced
this issue
Dec 14, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This code (playground link) gives me a segfault on the current beta:
I've reduced it as much as I can, even removing the
A
constructor on the enum causes it to work.I expect the output to be
(which it is on stable),
but instead I get
The text was updated successfully, but these errors were encountered: