From aa23b6d075908c77c5cead4c9d15d6ba8369cf3e Mon Sep 17 00:00:00 2001 From: Matthew Ballance Date: Wed, 25 Feb 2026 23:31:41 +0000 Subject: [PATCH] Revert V3Coverage.cpp to funccov-minimal merge base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The VLifetime::AUTOMATIC_EXPLICIT addition is not required for functional coverage — all 60 covergroup tests pass without it. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/V3Coverage.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/V3Coverage.cpp b/src/V3Coverage.cpp index ccb3c9326..d97697174 100644 --- a/src/V3Coverage.cpp +++ b/src/V3Coverage.cpp @@ -797,7 +797,6 @@ class CoverageVisitor final : public VNVisitor { pair.first->second = varp; if (m_ftaskp) { varp->funcLocal(true); - varp->lifetime(VLifetime::AUTOMATIC_EXPLICIT); m_ftaskp->stmtsp()->addHereThisAsNext(varp); } else { m_modp->stmtsp()->addHereThisAsNext(varp);