Extend simplify() recursion warning
authorZachary Snow <zach@zachjs.com>
Thu, 25 Feb 2021 21:02:55 +0000 (16:02 -0500)
committerZachary Snow <zachary.j.snow@gmail.com>
Fri, 26 Feb 2021 17:11:23 +0000 (12:11 -0500)
frontends/ast/simplify.cc

index 6b4b9e04507d558e16c7f309bd6210c1d128810c..babd8c562f4d253ed6c3daa2fc97158617f033d2 100644 (file)
@@ -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;
        }