-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
rust compiler bug report #16538
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
I almost forgot : > rustc --version
rustc 0.12.0-pre-nightly (6b5ec40d4 2014-08-15 00:46:19 +0000) |
Can you share the code with us, or something to reproduce it? |
For example you can add this line : pub static DefaultRngType : RngType = ffi::FFI::wrap(ffi::gsl_rng_default as *mut ffi::gsl_rng_type); In this file : https://github.com/GuillaumeGomez/rust-GSL/blob/master/src/types/rng.rs The bug will occur again. |
Minimal test case: mod Y {
type X = uint;
extern {
static x: *const uint;
}
fn foo(value: *const X) -> *const X {
value
}
}
static foo: *const Y::X = Y::foo(Y::x as *const Y::X);
fn main() {} |
This seems fixed by #18279. |
@sanxiyn: I confirm. Thanks for the info ! |
ghost
added
the
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
label
Dec 8, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Hey, here's the compiler error :
The text was updated successfully, but these errors were encountered: