diff --git a/src/V3StatsReport.cpp b/src/V3StatsReport.cpp index bedbf14b5..5d74febe6 100644 --- a/src/V3StatsReport.cpp +++ b/src/V3StatsReport.cpp @@ -50,8 +50,8 @@ class StatsReport final { V3Statistic* lastp = nullptr; for (const auto& itr : byName) { V3Statistic* repp = itr.second; - if (lastp && lastp->sumit() && lastp->printit() && lastp->name() == repp->name() - && lastp->stage() == repp->stage()) { + if (lastp && lastp->sumit() && lastp->printit() && repp->printit() + && lastp->name() == repp->name() && lastp->stage() == repp->stage()) { lastp->combineWith(repp); } else { lastp = repp;