projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d0cc54
)
Extend simplify() recursion warning
author
Zachary Snow
<zach@zachjs.com>
Thu, 25 Feb 2021 21:02:55 +0000
(16:02 -0500)
committer
Zachary Snow
<zachary.j.snow@gmail.com>
Fri, 26 Feb 2021 17:11:23 +0000
(12:11 -0500)
frontends/ast/simplify.cc
patch
|
blob
|
history
diff --git
a/frontends/ast/simplify.cc
b/frontends/ast/simplify.cc
index 6b4b9e04507d558e16c7f309bd6210c1d128810c..babd8c562f4d253ed6c3daa2fc97158617f033d2 100644
(file)
--- 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;
}