arm: Fixes based on UBSan and static analysis
[gem5.git] / src / cpu / simple_thread.cc
index 55fe7e1a9bb071b83370ed618e9353f42028b1ee..36603a1c167cd10f908e8ef1578d916d1384f5d8 100644 (file)
@@ -63,7 +63,8 @@ using namespace std;
 SimpleThread::SimpleThread(BaseCPU *_cpu, int _thread_num, System *_sys,
                            Process *_process, TheISA::TLB *_itb,
                            TheISA::TLB *_dtb, TheISA::ISA *_isa)
-    : ThreadState(_cpu, _thread_num, _process), isa(_isa), system(_sys),
+    : ThreadState(_cpu, _thread_num, _process), isa(_isa),
+      predicate(false), system(_sys),
       itb(_itb), dtb(_dtb)
 {
     clearArchRegs();