Remove warning regarding complex array elem dtype

Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
This commit is contained in:
Ryszard Rozak 2026-01-20 16:10:59 +01:00
parent 55c4a11116
commit e72fc60179
1 changed files with 0 additions and 8 deletions

View File

@ -323,14 +323,6 @@ private:
">= "
<< ELEMENTS_MAX << " elements");
}
bool complexElem = true;
if (const AstBasicDType* const basicp = VN_CAST(dtp, BasicDType)) {
complexElem = basicp->isOpaque();
}
if (complexElem) {
varp->v3warn(E_UNSUPPORTED, "Unsupported: Force of unpacked array variable with "
"elements of complex data type");
}
return origDTypep;
} else if (VN_IS(origDTypep, BasicDType)) {
return isRangedDType(varp) ? origDTypep : varp->findBitDType();