From 9df036f4d4cf38ad8c020477e71bdace79739774 Mon Sep 17 00:00:00 2001 From: drmortalwombat <90205530+drmortalwombat@users.noreply.github.com> Date: Sun, 10 Jul 2022 16:09:39 +0200 Subject: [PATCH] Fix uninitialized variable Fixed uninitialized variable in intermediate code generation leading to divergent windows and linux builds --- oscar64/InterCode.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/oscar64/InterCode.cpp b/oscar64/InterCode.cpp index 8398881..f06719b 100644 --- a/oscar64/InterCode.cpp +++ b/oscar64/InterCode.cpp @@ -3620,6 +3620,7 @@ InterCodeBasicBlock::InterCodeBasicBlock(void) mEntryValueRange(IntegerValueRange()), mTrueValueRange(IntegerValueRange()), mFalseValueRange(IntegerValueRange()), mLocalValueRange(IntegerValueRange()), mReverseValueRange(IntegerValueRange()), mEntryBlocks(nullptr), mLoadStoreInstructions(nullptr), mLoopPathBlocks(nullptr), mMemoryValueSize(0), mEntryMemoryValueSize(0) { + mVisited = false; mInPath = false; mLoopHead = false; mChecked = false;