Fix segfault in V3Slice (#6899)

This commit is contained in:
Pawel Kojma
2026-01-10 06:15:01 +09:00
committed by GitHub
parent 3b1a7af74d
commit d664aec8b8
4 changed files with 32 additions and 0 deletions
+1
View File
@@ -125,6 +125,7 @@ class SliceVisitor final : public VNVisitor {
nodep->v3error("Array initialization has too few elements, need element "
<< elemIdx);
m_assignError = true;
break;
}
const AstNodeDType* itemRawDTypep = itemp->dtypep()->skipRefp();
const VCastable castable