Unverified Commit cf25d25d by alanminko Committed by GitHub

Merge pull request #195 from hzeller/20221121-fix-msan-issue

Make sure all 32 bits of bit-field are initialized.
parents ea40a958 2f0f6380
...@@ -31,7 +31,7 @@ ABC_NAMESPACE_IMPL_START ...@@ -31,7 +31,7 @@ ABC_NAMESPACE_IMPL_START
typedef struct Kit_Mux_t_ Kit_Mux_t; typedef struct Kit_Mux_t_ Kit_Mux_t;
struct Kit_Mux_t_ struct Kit_Mux_t_
{ {
unsigned v : 5; // variable unsigned v : 6; // variable
unsigned t : 12; // then edge unsigned t : 12; // then edge
unsigned e : 12; // else edge unsigned e : 12; // else edge
unsigned c : 1; // complemented attr of else edge unsigned c : 1; // complemented attr of else edge
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment