diff --git a/src/V3Undriven.cpp b/src/V3Undriven.cpp index 2a9488edf..07746302b 100644 --- a/src/V3Undriven.cpp +++ b/src/V3Undriven.cpp @@ -479,15 +479,13 @@ class UndrivenVisitor final : public VNVisitorConst { && !entryp->isUnderGen() // EOM //&& entryp->getNodep()) { - && (entryp->getNodep() - || (m_enableWriteSummary && entryp->getCallNodep()))) { + && (entryp->getNodep() || (m_enableWriteSummary && entryp->getCallNodep()))) { // EOM const AstNode* const otherWritep = entryp->getNodep() ? static_cast(entryp->getNodep()) - : (m_enableWriteSummary ? entryp->getCallNodep() - : nullptr); + : (m_enableWriteSummary ? entryp->getCallNodep() : nullptr); if (m_alwaysCombp && (!entryp->isDrivenAlwaysCombWhole() diff --git a/test_regress/t/t_multidriven_funcret0.py b/test_regress/t/t_multidriven_funcret0.py old mode 100644 new mode 100755