From ccf083e5b0a41373dc433b7490d8bf9a1ff726d0 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sat, 7 Dec 2013 16:56:34 +0100 Subject: [PATCH] Fixed uninitialized const flags bug --- kernel/rtlil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 5583be968..fbdab53eb 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -195,7 +195,7 @@ struct RTLIL::Const { Const(std::string str); Const(int val, int width = 32); Const(RTLIL::State bit, int width = 1); - Const(std::vector bits) : bits(bits) { }; + Const(std::vector bits) : bits(bits) { flags = CONST_FLAG_NONE; }; bool operator <(const RTLIL::Const &other) const; bool operator ==(const RTLIL::Const &other) const; bool operator !=(const RTLIL::Const &other) const; -- 2.30.2