mirror of https://github.com/YosysHQ/yosys.git
Fixed gcc compiler warnings with release build
This commit is contained in:
parent
0192f1c66e
commit
f4f230d7cc
|
@ -487,7 +487,7 @@ struct BtorDumper
|
|||
int l1_width = cell->parameters.at(RTLIL::IdString("\\A_WIDTH")).as_int();
|
||||
int l2_width = cell->parameters.at(RTLIL::IdString("\\B_WIDTH")).as_int();
|
||||
|
||||
assert(l1_signed == l2_signed);
|
||||
log_assert(l1_signed == l2_signed);
|
||||
l1_width = l1_width > output_width ? l1_width : output_width;
|
||||
l1_width = l1_width > l2_width ? l1_width : l2_width;
|
||||
l2_width = l2_width > l1_width ? l2_width : l1_width;
|
||||
|
|
|
@ -1602,7 +1602,7 @@ void AstNode::mem2reg_as_needed_pass1(std::map<AstNode*, std::set<std::string>>
|
|||
|
||||
if (proc_flags_p) {
|
||||
for (auto it : *proc_flags_p)
|
||||
assert((it.second & ~0xff000000) == 0);
|
||||
log_assert((it.second & ~0xff000000) == 0);
|
||||
delete proc_flags_p;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue