diff --git a/src/V3Broken.cpp b/src/V3Broken.cpp index e3b1a7061..8f5ce9dab 100644 --- a/src/V3Broken.cpp +++ b/src/V3Broken.cpp @@ -208,8 +208,8 @@ private: nodep->v3fatalSrc("Broken link in node (or something without maybePointedTo)"); } if (nodep->dtypep()) { - if (!nodep->dtypep()->brokeExists()) { nodep->v3error("Broken link in node->dtypep()"); } - else if (!nodep->dtypep()->castNodeDType()) { nodep->v3error("Non-dtype link in node->dtypep()"); } + if (!nodep->dtypep()->brokeExists()) { nodep->v3fatalSrc("Broken link in node->dtypep() to "<<(void*)nodep->dtypep()); } + else if (!nodep->dtypep()->castNodeDType()) { nodep->v3fatalSrc("Non-dtype link in node->dtypep() to "<<(void*)nodep->dtypep()); } } if (v3Global.assertDTypesResolved()) { if (nodep->hasDType()) { @@ -246,10 +246,18 @@ public: void V3Broken::brokenAll(AstNetlist* nodep) { //UINFO(9,__FUNCTION__<<": "<