[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 15:29:40 PST 2025


kkwli wrote:

@jeanPerier Thanks for the review. I updated the following to address the comments.
1. Update the fir.type syntax for the packed type - `fir.type<name <{...}>>` by adding the angle brackets around the curly ones. The parser is updated accordingly.
2. Since unnamed fields are not supported in the parser, the name (i.e. `__padding`#) is used for the padding.
3. The `packed` bit setting is passed along in `BoxprocTypeRewriter` to ensure the converted type has the correct pack setting.

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


More information about the flang-commits mailing list