[flang-commits] [flang] [flang] Fix RecordType sizes, TRANSFER lowering, and BIND(C) ABI on SystemZ/PPC64le (PR #220377)
via flang-commits
flang-commits at lists.llvm.org
Fri Sep 4 23:33:11 PDT 2026
================
@@ -31,6 +31,48 @@ page](https://llvm.org/releases/).
## Bug Fixes
+- Fixed `fir::getTypeSizeAndAlignment` returning the wrong allocation size for
+ **packed derived types** (`SEQUENCE` types compiled with `PACK` / LLVM
----------------
MattPD wrote:
Flang does not derive packed `RecordType`s from the `SEQUENCE` attribute or a `PACK` option. Among source-language paths, only the AIX lowering of `BIND(C)` types sets `pack(true)`, and that lowering adds explicit padding fields. Textual FIR can also declare a packed `RecordType`.
Could the release note refer to explicitly packed FIR `RecordType`s or the AIX lowering of `BIND(C)` types instead of attributing packing to `SEQUENCE` and `PACK`?
https://github.com/llvm/llvm-project/pull/220377
More information about the flang-commits
mailing list