From: Zachary Snow Date: Thu, 25 Feb 2021 21:02:55 +0000 (-0500) Subject: Extend simplify() recursion warning X-Git-Tag: working-ls180~32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22bed385401a41b297790c3388b2e452cc037b54;p=yosys.git Extend simplify() recursion warning --- diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc index 6b4b9e045..babd8c562 100644 --- a/frontends/ast/simplify.cc +++ b/frontends/ast/simplify.cc @@ -571,7 +571,7 @@ bool AstNode::simplify(bool const_fold, bool at_zero, bool in_lvalue, int stage, static bool deep_recursion_warning = false; if (recursion_counter++ == 1000 && deep_recursion_warning) { - log_warning("Deep recursion in AST simplifier.\nDoes this design contain insanely long expressions?\n"); + log_warning("Deep recursion in AST simplifier.\nDoes this design contain overly long or deeply nested expressions, or excessive recursion?\n"); deep_recursion_warning = false; }