From 1c7ed16cc28f1d740ac7abc773eb4016d49fcba4 Mon Sep 17 00:00:00 2001 From: Inderpreet Singh Date: Wed, 25 Jul 2012 22:12:47 -0800 Subject: Fixed gcc-4.3 warning related to SIMT stack in CL13519 [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13535] --- src/abstract_hardware_model.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/abstract_hardware_model.h') diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h index f3957c4..bb5c490 100644 --- a/src/abstract_hardware_model.h +++ b/src/abstract_hardware_model.h @@ -254,6 +254,8 @@ struct simt_stack_entry { address_type m_recvg_pc; unsigned long long m_branch_div_cycle; stack_entry_type m_type; + simt_stack_entry() : + m_pc(-1), m_calldepth(0), m_active_mask(), m_recvg_pc(-1), m_branch_div_cycle(0), m_type(STACK_ENTRY_TYPE_NORMAL) { }; }; class simt_stack { -- cgit v1.3