[flang-commits] [PATCH] D145601: [flang] Handle mismatches of procedure type args

Leandro Lupori via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Mar 8 10:43:44 PST 2023


luporl created this revision.
luporl added reviewers: jeanPerier, clementval.
luporl added a project: Flang.
Herald added subscribers: sunshaoce, mehdi_amini, jdoerfert.
Herald added a project: All.
luporl requested review of this revision.

Fortran allows type mismatch when passing actual arguments to
procedures and most cases were already being handled correctly by
Flang. However, conversion of data types to and from procedures and
conversion between procedures and char procedures were not always
handled properly. The missing cases were added and these
conversions are supported now.

Fixes #60550


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145601

Files:
  flang/lib/Lower/ConvertExpr.cpp
  flang/lib/Optimizer/Builder/FIRBuilder.cpp
  flang/test/Lower/implicit-call-mismatch.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145601.503442.patch
Type: text/x-patch
Size: 24908 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230308/de901472/attachment-0001.bin>


More information about the flang-commits mailing list