[flang-commits] [flang] [mlir] [flang][AIX] BIND(C) derived type alignment for AIX (PR #121505)

via flang-commits flang-commits at lists.llvm.org
Tue Jan 7 00:33:33 PST 2025


================
@@ -165,16 +165,20 @@ struct RecordTypeStorage : public mlir::TypeStorage {
     setTypeList(typeList);
   }
 
+  bool isPacked() const { return packed; }
+  void pack(bool p) { packed = p; }
+
 protected:
   std::string name;
   bool finalized;
+  bool packed;
----------------
jeanPerier wrote:

How is the fir.type printing/parsing modified to reflect this? 

https://github.com/llvm/llvm-project/pull/121505


More information about the flang-commits mailing list