diff options
| author | Clifford Wolf <clifford@clifford.at> | 2013-12-07 16:56:34 +0100 |
|---|---|---|
| committer | Clifford Wolf <clifford@clifford.at> | 2013-12-07 16:56:34 +0100 |
| commit | ccf083e5b0a41373dc433b7490d8bf9a1ff726d0 (patch) | |
| tree | 99f5bb0c6f96aa6a3bb1691c195d79038058d841 | |
| parent | 5de57e9970a76ae99f5baee46c60fc7f34aca772 (diff) | |
| download | yosys-ccf083e5b0a41373dc433b7490d8bf9a1ff726d0.tar.gz yosys-ccf083e5b0a41373dc433b7490d8bf9a1ff726d0.tar.bz2 yosys-ccf083e5b0a41373dc433b7490d8bf9a1ff726d0.zip | |
Fixed uninitialized const flags bug
| -rw-r--r-- | kernel/rtlil.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<RTLIL::State> bits) : bits(bits) { }; + Const(std::vector<RTLIL::State> 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; |
