Return when array is too big
Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
This commit is contained in:
parent
ea3bcdfb0c
commit
3d4ccc628c
|
|
@ -295,6 +295,7 @@ private:
|
|||
varp->v3warn(E_UNSUPPORTED, "Unsupported: Force of variable with "
|
||||
">= "
|
||||
<< ELEMENTS_MAX << " unpacked elements");
|
||||
return dtypep;
|
||||
}
|
||||
if (AstNodeArrayDType* const arrp = VN_CAST(origDTypep, NodeArrayDType)) {
|
||||
AstNodeDType* const subDTypep = arrp->subDTypep();
|
||||
|
|
|
|||
Loading…
Reference in New Issue