Miscompilation: wrong branch taken on x86_64 #112767
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
A-raw-pointers
Area: raw pointers, MaybeUninit, NonNull
I-unsound
Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness
P-high
High priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Fuzzer generated code then minimised
Miri reports no UB under either aliasing model, and it should print
With
-Zmir-opt-level=0 -Copt-level>=2
, it takes the wrong branch infn4
and doesn't callfn5
.Only reproducible on
x86_64
, notaarch64
cc @nikic
The text was updated successfully, but these errors were encountered: