std: big.int gcd #10932 miscompiled by self-hosted x86_64-linux backend #17998
Labels
arch-x86_64
64-bit x86
backend-self-hosted
bug
Observed behavior contradicts documented or intended behavior
miscompilation
The compiler reports success but produces semantically incorrect code.
Milestone
Zig Version
0.12.0-dev.1610+e88390743
Steps to Reproduce and Observed Behavior
Extracted from #17978
Never terminates.
If you swap in
std.heap.page_allocator
fortesting.allocator
, the test runs fine. If you insert a dummy print statement ingcdLehmer
it also terminates fine:Expected Behavior
The test should terminate and pass.
The text was updated successfully, but these errors were encountered: