From a42370461a9ccfbc40caac4777fdcfd0275195ad Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sun, 14 Jan 2024 23:49:17 +0300 Subject: [PATCH] oppc/code: assume 1 bit for subscript expr --- src/openpower/oppc/pc_code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/oppc/pc_code.py b/src/openpower/oppc/pc_code.py index 170c7011..41e95c6c 100644 --- a/src/openpower/oppc/pc_code.py +++ b/src/openpower/oppc/pc_code.py @@ -439,7 +439,7 @@ class CodeVisitor(pc_util.Visitor): @pc_util.Hook(pc_ast.SubscriptExpr) def SubscriptExpr(self, node): yield node - transient = self.transient() + transient = self.transient(bits="UINT8_C(1)") call = self.call(name="oppc_subscript", code=[ self[transient], self[node.subject], -- 2.30.2