We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
~/julia$ ./usr/bin/julia-debug --inline=no -q bitstype 24 Int24 Int24(x::Int) = Core.Intrinsics.box(Int24,Core.Intrinsics.trunc_int(Int24,Core.Intrinsics.unbox(Int,x))) Int(x::Int24) = Core.Intrinsics.box(Int,Core.Intrinsics.zext_int(Int,Core.Intrinsics.unbox(Int24,x))) let x,y,f x = Int24(Int(0x12345678)) # create something (via truncation) @test Int(0x345678) === Int(x) function f() Int24(Int(0x02468ace)) end y = f() # invoke llvm constant folding @test Int(0x468ace) === Int(y) @test x !== y @test string(y) == "Int24(0x468ace)" end Assertion failed: (llvm_alignment==julia_alignment), function julia_struct_to_llvm, file ./cgutils.cpp, line 413.
The text was updated successfully, but these errors were encountered:
ensure datatype alignments are powers-of-two
2b81b59
fix #16336
df4b5d2
2c379c8
fix JuliaLang#16336
No branches or pull requests
The text was updated successfully, but these errors were encountered: