> maybe make sure you aren't using an older compiler version with the outlining miscompilation if you use opt-level=z) What does this cover? > It could also be unrelated undefined behavior, sometimes totally unrelated changes will impact whether UB will be misoptimized or not. Yeah, this would be my suspicion.. But how to hunt for UB?