Tests: Cover some previously uncovered warnings

This commit is contained in:
Wilson Snyder
2022-10-22 13:45:48 -04:00
parent ecfa385f13
commit 8e1901da10
51 changed files with 680 additions and 4 deletions
+1 -1
View File
@@ -345,7 +345,7 @@ void GraphAcyc::simplifyOut(GraphAcycVertex* avertexp) {
nextp = inEdgep->inNextp();
V3GraphVertex* inVertexp = inEdgep->fromp();
if (inVertexp == avertexp) {
if (debug()) v3error("Non-cutable edge forms a loop, vertex=" << avertexp);
if (debug()) v3error("Non-cutable vertex=" << avertexp); // LCOV_EXCL_LINE
v3error("Circular logic when ordering code (non-cutable edge loop)");
m_origGraphp->reportLoops(
&V3GraphEdge::followNotCutable,