Remove warning regarding complex array elem dtype
Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
This commit is contained in:
parent
55c4a11116
commit
e72fc60179
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue