compiler crash when using i128 field within struct in exported function #10039
Labels
arch-aarch64
64-bit ARM
arch-x86_64
bug
Observed behavior contradicts documented or intended behavior
stage1
The process of building from source via WebAssembly and the C backend.
Milestone
Remember to search before filing a new report
Zig Version
0.9.0-dev.1444+e2a2e6c14
Steps to Reproduce
try to compile this code with
zig build
to reproduce:https://gist.github.com/locriacyber/250e4c8811c997fc41adc9e8f51bdc4b
note that changing
i128
toi64
does workExpected Behavior
It should compile the linked project
Actual Behavior
gdb reports SIGSEGV inside
LLVMStructGetTypeAtIndex
, I don't have more debug informationThe text was updated successfully, but these errors were encountered: