From f4f230d7cc0b0f4fec228d1292e79b11b86160e4 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 6 Feb 2014 22:49:14 +0100 Subject: Fixed gcc compiler warnings with release build --- frontends/ast/simplify.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends') 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> 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; } } -- cgit v1.2.3