diff --git a/src/V3Simulate.h b/src/V3Simulate.h index d7f1ff643..007e50ca1 100644 --- a/src/V3Simulate.h +++ b/src/V3Simulate.h @@ -1151,7 +1151,8 @@ private: if (funcp->recursive()) { if (m_recurseCount >= v3Global.opt.funcRecursionDepth()) { clearOptimizable(funcp, "Constant function recursed more than "s - + std::to_string(v3Global.opt.funcRecursionDepth()) + " times"); + + std::to_string(v3Global.opt.funcRecursionDepth()) + + " times"); return; } ++m_recurseCount; diff --git a/test_regress/t/t_func_recurse_depth.py b/test_regress/t/t_func_recurse_depth.py old mode 100644 new mode 100755