mirror of https://github.com/YosysHQ/abc.git
Make sure all 32 bits of bit-field are initialized.
Found with msan static analysis which noticed an uninitialized bit. Signed-off-by: Henner Zeller <hzeller@google.com>
This commit is contained in:
parent
70cb339f86
commit
2f0f638007
|
|
@ -31,7 +31,7 @@ ABC_NAMESPACE_IMPL_START
|
|||
typedef struct Kit_Mux_t_ Kit_Mux_t;
|
||||
struct Kit_Mux_t_
|
||||
{
|
||||
unsigned v : 5; // variable
|
||||
unsigned v : 6; // variable
|
||||
unsigned t : 12; // then edge
|
||||
unsigned e : 12; // else edge
|
||||
unsigned c : 1; // complemented attr of else edge
|
||||
|
|
|
|||
Loading…
Reference in New Issue