aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-02-06 22:49:14 +0100
committerClifford Wolf <clifford@clifford.at>2014-02-06 22:49:14 +0100
commitf4f230d7cc0b0f4fec228d1292e79b11b86160e4 (patch)
tree6257e34603c2a98e5381dea3e4b81bcc50597eb2 /frontends/ast
parent0192f1c66ea1335370770aef05fb73b9eaf0edce (diff)
downloadyosys-f4f230d7cc0b0f4fec228d1292e79b11b86160e4.tar.gz
yosys-f4f230d7cc0b0f4fec228d1292e79b11b86160e4.tar.bz2
yosys-f4f230d7cc0b0f4fec228d1292e79b11b86160e4.zip
Fixed gcc compiler warnings with release build
Diffstat (limited to 'frontends/ast')
-rw-r--r--frontends/ast/simplify.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc
index 3d9951194..b51079ce5 100644
--- a/frontends/ast/simplify.cc
+++ b/frontends/ast/simplify.cc
@@ -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;
}
}