Don't throw error on unpacked struct

Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
This commit is contained in:
Ryszard Rozak 2026-01-12 13:44:45 +01:00
parent c1d4d7af10
commit 5acebddeb4
1 changed files with 0 additions and 4 deletions

View File

@ -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");