-
Notifications
You must be signed in to change notification settings - Fork 13.3k
LLVM abort from deref of 0 in a const expression initializing a static #24581
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
(i don't want to tag this as |
(I suppose I could tag it as both |
well I'd say that one could probably argue that #13973 should actually compile successfully (and bind In other words, solving both of these problems may involve a more general solution than solving either independently... |
(imported from improperly closed bug #17452)
playpen
This causes LLVM to abort, causing a core dump from
rustc
. :((I suspect we should be more careful, somehow, about handling such things in our const expression evaluator. Not 100% sure how best to resolve this though.)
The text was updated successfully, but these errors were encountered: