Don't throw error on unpacked struct
Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
This commit is contained in:
parent
c1d4d7af10
commit
5acebddeb4
|
|
@ -258,10 +258,6 @@ private:
|
|||
return origDTypep;
|
||||
} else if (const AstNodeUOrStructDType* const sdtp
|
||||
= VN_CAST(origDTypep, NodeUOrStructDType)) {
|
||||
if (!sdtp->packed()) {
|
||||
varp->v3warn(E_UNSUPPORTED,
|
||||
"Unsupported: Force of unpacked struct / union variable");
|
||||
}
|
||||
return origDTypep;
|
||||
} else {
|
||||
varp->v3fatalSrc("Unsupported: Force of variable of unhandled data type");
|
||||
|
|
|
|||
Loading…
Reference in New Issue