[flang-commits] [flang] [flang] lower assumed type actual arguments in call statements (PR #75969)

via flang-commits flang-commits at lists.llvm.org
Mon Jan 8 07:38:16 PST 2024


================
@@ -1172,8 +1173,6 @@ genUserCall(Fortran::lower::PreparedActualArguments &loweredActuals,
       continue;
     }
     const auto *expr = arg.entity->UnwrapExpr();
----------------
jeanPerier wrote:

If you apply my comment above, you can move this to the MutableBox case where it is used with an assert that this is not null (it is not possible to pass an assumed type to a pointer/allocatable).

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


More information about the flang-commits mailing list