-
-
Notifications
You must be signed in to change notification settings - Fork 849
Open
Labels
Description
Context
$ odin report
Odin: dev-2025-11-nightly:c4262cc
OS: Windows 10 Professional (version: 22H2), build 19045.5965
CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
RAM: 16246 MiB
Backend: LLVM 20.1.0Expected Behavior
Cast integer.
Current Behavior
Compiler crashes.
Failure Information (for bugs)
Steps to Reproduce
package main
import "core:fmt"
main :: proc() {
src: u64 : 0x1122334455667788
dst := u32(src)
fmt.printfln("dst: %#X", dst)
}Failure Logs
[DEBUG] 1234605616436508552
u32 -> 4
D:\a\Odin\Odin\src\llvm_backend_const.cpp(517): Assertion Failure: `sz >= max_count` max_count: 8, sz: 4, written: 0, type u32