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

Kelvin Li via flang-commits flang-commits at lists.llvm.org
Thu Jan 9 14:22:41 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;
----------------
kkwli wrote:

I update the printing and parsing of fir.type that is packed.

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


More information about the flang-commits mailing list