We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df40b05 commit d305fd0Copy full SHA for d305fd0
flang/lib/Lower/ConvertType.cpp
@@ -392,7 +392,7 @@ struct TypeBuilderImpl {
392
// Always generate packed FIR struct type for bind(c) derived type for AIX
393
if (targetTriple.getOS() == llvm::Triple::OSType::AIX &&
394
tySpec.typeSymbol().attrs().test(Fortran::semantics::Attr::BIND_C) &&
395
- !IsIsoCType(&tySpec)) {
+ !IsIsoCType(&tySpec) && !fir::isa_builtin_cdevptr_type(rec)) {
396
rec.pack(true);
397
}
398
0 commit comments