diff --git a/src/V3Error.cpp b/src/V3Error.cpp index 23c70a013..e9ad855cb 100644 --- a/src/V3Error.cpp +++ b/src/V3Error.cpp @@ -154,7 +154,7 @@ void V3ErrorGuarded::v3errorEnd(std::ostringstream& sstr, const string& extra) } // Suppress duplicate messages if (!m_messages.insert(msg).second) return; - if (!extra.empty()) { + if (!extra.empty() && !m_errorSuppressed) { const string extraMsg = warnMore() + extra + "\n"; const size_t pos = msg.find('\n'); msg.insert(pos + 1, extraMsg); diff --git a/src/V3Unroll.cpp b/src/V3Unroll.cpp index ac707874b..d36083c5a 100644 --- a/src/V3Unroll.cpp +++ b/src/V3Unroll.cpp @@ -57,7 +57,7 @@ class UnrollVisitor final : public VNVisitor { bool cantUnroll(AstNode* nodep, const char* reason) const { if (m_generate) nodep->v3warn(E_UNSUPPORTED, "Unsupported: Can't unroll generate for; " << reason); - UINFO(3, " Can't Unroll: " << reason << " :" << nodep << endl); + UINFO(4, " Can't Unroll: " << reason << " :" << nodep << endl); // if (debug() >= 9) nodep->dumpTree("- cant: "); V3Stats::addStatSum("Unrolling gave up, "s + reason, 1); return false; @@ -210,7 +210,7 @@ class UnrollVisitor final : public VNVisitor { SimulateVisitor simvis; simvis.mainParamEmulate(clonep); if (!simvis.optimizable()) { - UINFO(3, "Unable to simulate" << endl); + UINFO(4, "Unable to simulate" << endl); if (debug() >= 9) nodep->dumpTree("- _simtree: "); VL_DO_DANGLING(clonep->deleteTree(), clonep); return false;