-
Notifications
You must be signed in to change notification settings - Fork 13k
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
ICE const value has different size than its type #6352
Comments
This problem occurs while compiling servo for ARM target
|
cc @jld, I think this is your code? |
Compiles fine on x86 32bit machine. |
pcwalton
added a commit
to pcwalton/rust
that referenced
this issue
May 31, 2013
Fixed. |
Thanks! |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Feb 25, 2021
… r=matthiaskrgr Inconsistent struct constructor fixes: rust-lang#6352 r? `@matthiaskrgr` I added the lint that checks for the struct constructors where the order of the field init shorthands is inconsistent with that in the struct definition. changelog: Add style lint: `inconsistent_struct_constructor`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following test yields an ICE in trans
{ i32, { i32, i32, [8 x i8] } } { i32 0, { i32, i32, [8 x i8] } { i32 0, i32 0, [8 x i8] undef } }
{ i32, { i32, i64, [0 x i8] } } undef
error: internal compiler error: const expr(29: Bar{i: 0, v: IntVal(0),}) of type Bar has size 20 instead of 24
This error appears on arm target. and probably can appear on x86-32bit machine.
The text was updated successfully, but these errors were encountered: