From 04d4b1c523478748a0d0e36050cb5449c0f8bfcf Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Tue, 16 Jan 2024 22:09:45 +0300 Subject: [PATCH] oppc/code: supply transient for attr exprs --- src/openpower/oppc/pc_code.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openpower/oppc/pc_code.py b/src/openpower/oppc/pc_code.py index ff4ebfc0..b15d5fe3 100644 --- a/src/openpower/oppc/pc_code.py +++ b/src/openpower/oppc/pc_code.py @@ -170,7 +170,9 @@ class CodeVisitor(pc_util.Visitor): code[-1] = (level, stmt[:-1]) if not assign: + transient = self.transient() call = self.call(name="oppc_attr", code=[ + self[transient], code, ]) code = self[call] -- 2.30.2