-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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 - tried to get overflow intrinsic for non-int type #23037
Comments
I get the same error when trying to compile rust-crypto (after some fixes, see https://github.com/fhartwig/rust-crypto/tree/rustup) with the current nightly ( |
I can confirm the same error when compiling rust-crypto.
Backtrace:
|
I get the same error for rust-crypto on linux (x86_64):
|
Interestingly enough I did not get this error when compiling with --cfg ndebug which is the flag that cargo adds when building in release mode. Maybe this bit of information would be useful for whoever decides to track down the bug. Here is my compiler version:
|
The arithmetic overflow checking is only turned on for debug builds, so I am not surprised that |
(anyway, I will try to find some time to address this. not 100% sure what our story is for mixing overflow checking with simd ... seems like simd values should be implicitly wrapping-arithmetic...) |
(also, are we really making |
Disable overflow checking on SIMD operations, fix rust-lang#23037
Disable overflow checking on SIMD operations, fix rust-lang#23037
Fixes rust-lang#23037. Fixes rust-lang#25339.
Fixes rust-lang#23037. Fixes rust-lang#25339.
thread 'rustc' panicked at 'tried to get overflow intrinsic for non-int type', C
:\bot\slave\nightly-dist-rustc-win-64\build\src\librustc_trans\trans\expr.rs:235
2
Here is the code
The text was updated successfully, but these errors were encountered: